[mythtv-users] Ticket #9764: SBE's mythjobqueue preventing MBE idleness
Michael T. Dean
mtdean at thirdcontact.com
Thu May 26 17:05:51 UTC 2011
On 05/26/2011 12:31 PM, Brian J. Murrell wrote:
> On 11-05-26 12:18 PM, Michael T. Dean wrote:
>> [Switching to mythtv-users list, since you're subscribed there]
> Sure.
>> Yeah, I didn't test a case where the backend wasn't running/didn't
>> design it for that check. If you'd like to add a check at the beginning
>> (a sort of "ping", where if it errors as above)
> Wouldn't it just be better to handle the exception from the connection
> attempt?
I meant the beginning--like where it's doing it, now. Just specifically
to exit before the end part that actually does the counting.
>> and exit with a defined
>> large-value status (like 127--which should be large enough to not
>> overlap with jobcount)
> And wouldn't it be more appropriate to just exit with 0, since if the
> backend is sleeping the job queue is either empty or any jobs in it
> cannot be fetched anyway? I don't recall if>0 jobs in the queue
> prevents idle or not, but it should if it does not.
That's fine, too, if you don't care about the difference between backend
running/not running.
Mike
More information about the mythtv-users
mailing list