[cups.bugs] [BUG] cannot set JobRetryInterval in cups-1.3.9

Jeff Chua jeff.chua.linux at gmail.com
Wed Feb 4 15:16:42 PST 2009

On Thu, Feb 5, 2009 at 5:29 AM, Michael R Sweet <msweet at apple.com> wrote:
>> Um, your patch will do bad things for performance and power management
>> (not sleeping as much).  Better to just look for held jobs and set the
>> select timeout accordingly.

Well, at least it's along the right track and got you thinking :)

>> Will look into it some more...
> OK, this should do it better:
> Index: scheduler/main.c

Tested your patch, and it's definitely much better. Nice.

I [05/Feb/2009:06:14:15 +0800] tries=1
I [05/Feb/2009:06:14:15 +0800] time=1233785655
I [05/Feb/2009:06:14:15 +0800] interval=3
I [05/Feb/2009:06:14:15 +0800] hold_until=1233785658
I [05/Feb/2009:06:14:18 +0800] tries=2
I [05/Feb/2009:06:14:18 +0800] time=1233785658
I [05/Feb/2009:06:14:18 +0800] interval=3
I [05/Feb/2009:06:14:18 +0800] hold_until=1233785661
I [05/Feb/2009:07:11:21 +0800] tries=3
I [05/Feb/2009:07:11:21 +0800] time=1233789081
I [05/Feb/2009:07:11:21 +0800] interval=3

Thanks for the fix!!!


More information about the cups-devel mailing list