OpenPrinting / cups

OpenPrinting CUPS Sources
https://openprinting.github.io/cups
Apache License 2.0
1.1k stars 195 forks source link

JobKillDelay and JobKillDelay has incorrent value of 30 seconds in cupsd.conf man page #1086

Closed l1gi closed 2 weeks ago

l1gi commented 1 month ago

Describe the bug JobKillDelay and JobKillDelay has incorrent value of 30 seconds in cupsd.conf man page.

scheduler/cupsd.h:87:
#define DEFAULT_TIMEOUT         300     /* Timeout during requests/updates */                                 
...
scheduler/job.h:131:
VAR int                 JobKillDelay    VALUE(DEFAULT_TIMEOUT),

To Reproduce

$ man cupsd.conf
...
       JobKillDelay seconds
            Specifies the number of seconds to wait before killing the filters
            and backend associated with a canceled or held job.   The  default
            is "30".

       JobRetryInterval seconds
            Specifies  the  interval between retries of jobs in seconds.  This
            is typically used for fax queues but can also be used with  normal
            print  queues whose error policy is "retry-job" or "retry-current-
            job".  The default is "30".
...

Expected behavior

The default is "300".
michaelrsweet commented 2 weeks ago

[master 4e3aaa5e3] Fix cupsd.conf man page defaults (Issue #1086)