summaryrefslogtreecommitdiff
path: root/scheduler/job.c
diff options
context:
space:
mode:
authorMichael Sweet <michael.r.sweet@gmail.com>2017-10-02 19:14:25 -0400
committerMichael Sweet <michael.r.sweet@gmail.com>2017-10-02 19:14:25 -0400
commite4e371946b2ddb8adfb03c637992b0b3d3575f5f (patch)
tree01032b18f02ea60c169b9bf4117233dfa3645f0d /scheduler/job.c
parent9d4ae311cb628b5d183f850d2be0f19e164bf795 (diff)
downloadcups-e4e371946b2ddb8adfb03c637992b0b3d3575f5f.tar.gz
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.
Diffstat (limited to 'scheduler/job.c')
-rw-r--r--scheduler/job.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scheduler/job.c b/scheduler/job.c
index 9d281db6b..86e75e65c 100644
--- a/scheduler/job.c
+++ b/scheduler/job.c
@@ -2768,7 +2768,7 @@ cupsdSetJobState(
* Update the server "busy" state...
*/
- cupsdSetBusyState();
+ cupsdSetBusyState(0);
}