]> git.ipfire.org Git - thirdparty/cups.git/commit - scheduler/job.c
The scheduler did not run with a high enough priority, causing problems on
authorMichael Sweet <michael.r.sweet@gmail.com>
Mon, 2 Oct 2017 23:14:25 +0000 (19:14 -0400)
committerMichael Sweet <michael.r.sweet@gmail.com>
Mon, 2 Oct 2017 23:14:25 +0000 (19:14 -0400)
commite4e371946b2ddb8adfb03c637992b0b3d3575f5f
tree01032b18f02ea60c169b9bf4117233dfa3645f0d
parent9d4ae311cb628b5d183f850d2be0f19e164bf795
The scheduler did not run with a high enough priority, causing problems on
busy systems (rdar://33789342)

- Change ProcessType to Adaptive for both cupsd and cups-lpd
- Add "working" parameter to cupsdSetBusyState
- Call cupsdSetBusyState on startup to boost the priority on startup.
CHANGES.md
scheduler/client.c
scheduler/cups-lpd.c
scheduler/job.c
scheduler/main.c
scheduler/org.cups.cups-lpd.plist.in
scheduler/org.cups.cupsd.plist
scheduler/server.c
scheduler/sysman.c
scheduler/sysman.h