]> git.ipfire.org Git - thirdparty/cups.git/commit
scheduler/printers.c: Don't remove processing temp queue 364/head
authorZdenek Dohnal <zdohnal@redhat.com>
Wed, 6 Apr 2022 09:18:11 +0000 (11:18 +0200)
committerZdenek Dohnal <zdohnal@redhat.com>
Wed, 6 Apr 2022 09:18:11 +0000 (11:18 +0200)
commit3dfc8caa5829b2028b3df7dccd24fb6d8a049d25
tree43cfc01cc498e42629fa91651644172a4a401e82
parent33c4e3d9d55ebfb2edbb326de2435767da667496
scheduler/printers.c: Don't remove processing temp queue

cupsdDeleteTemporaryPrinters() deletes temporary queues which their last
status was updated 1 minute ago or older. It doesn't take into account
the fact the printer can be processing a big print job and cupsd deletes
the temp queue either way.

The fix in the PR now set cupsd to ignore queues which are in processing
state. If the delay in job processing is caused by an error in printer,
the correct error should kick in IPP backend.
scheduler/printers.c