summaryrefslogtreecommitdiff
path: root/scheduler/cups-polld.c
diff options
context:
space:
mode:
Diffstat (limited to 'scheduler/cups-polld.c')
-rw-r--r--scheduler/cups-polld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scheduler/cups-polld.c b/scheduler/cups-polld.c
index 12774e9b9..cc4cbbbf0 100644
--- a/scheduler/cups-polld.c
+++ b/scheduler/cups-polld.c
@@ -310,7 +310,7 @@ poll_server(http_t *http, /* I - HTTP connection */
fprintf(stderr, "DEBUG: %s Found %d printers.\n", prefix, max_count);
count = 0;
- max_count = max_count / interval + 1;
+ max_count = 2 * max_count / interval + 1;
/*
* Loop through the printers or classes returned in the list...