You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
468 B
16 lines
468 B
diff --git a/scheduler/main.c b/scheduler/main.c |
|
index e1fa357..53ca94a 100644 |
|
--- a/scheduler/main.c |
|
+++ b/scheduler/main.c |
|
@@ -1760,6 +1760,11 @@ select_timeout(int fds) /* I - Number of descriptors returned */ |
|
/* |
|
* Check for any job activity... |
|
*/ |
|
+ if (JobHistoryUpdate && timeout > JobHistoryUpdate) |
|
+ { |
|
+ timeout = JobHistoryUpdate; |
|
+ why = "update job history"; |
|
+ } |
|
|
|
for (job = (cupsd_job_t *)cupsArrayFirst(ActiveJobs); |
|
job;
|
|
|