Skip to content
This repository was archived by the owner on Jul 31, 2024. It is now read-only.

Commit 6b0a595

Browse files
committed
compare request limit to number of requests done iso number of jobs done to ensure efficient job processing (linked to #87)
1 parent b87effe commit 6b0a595

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inc/cron.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ function ao_ccss_queue_control() {
377377
}
378378

379379
// Break the loop if request limit is set and was reached
380-
if ($ao_ccss_rlimit && $ao_ccss_rlimit == $jc) {
380+
if ($ao_ccss_rlimit && $ao_ccss_rlimit == $jr) {
381381
ao_ccss_log('The limit of ' . $ao_ccss_rlimit . ' request(s) to criticalcss.com was reached, queue control must finish now', 3);
382382
break;
383383
}

0 commit comments

Comments
 (0)