[mythtv-users] Toggleing JobQueueMaxSimultaneousJobs

Chris Pinkham cpinkham at bc2va.org
Wed Oct 25 03:43:06 UTC 2006


* On Tue Oct 24, 2006 at 10:09:51PM -0500, Chris Moewes-Bystrom wrote:
> > No, it will not kill running jobs.  You will need to send a
> > CLEAR_SETTINGS_CACHE event to get Myth to reread the setting from the DB
> > if you change it, because Myth normally caches the settings

> So you are not talking like
> 'kill -s CLEAR_SETTINGS_CACHE `cat CLEAR_SETTINGS_CACHE`
> because that would be too easy ;) Do the perl bindings have the
> ability to send the event handler that signal? Would it be possible to
> add signals to the telnet interface? Sorry I'm only a perl guy or I
> would try to figure it out.

Not as simple as 'kill' I'm afraid.  I think it could be done in about 15-20
lines of code in programs/mythbackend/main.cpp though.

/me goes off and codes for a few minutes, then commits....

SVN trunk (not where your RPMS come from) now has the ability to
pass a --clearcache command line argument to mythbackend to clear
the settings cache on all connected programs.  Doesn't benefit you
much right now since you use RPMS, but whenever 0.21 hits the
streets you'll be able to take advantage of it.  For not it just
benefits me in development and others using trunk. :)

Looks like it was 21 lines counting the --help text description change.
Should have left that out and I could have come in right at my estimate. :)

--
Chris


More information about the mythtv-users mailing list