Skip to content

Commit

Permalink
Make sure that cron runner starts executing the job (#814)
Browse files Browse the repository at this point in the history
  • Loading branch information
mxr576 authored Mar 23, 2023
1 parent 2934c5a commit acc1c18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apigee_edge.module
Original file line number Diff line number Diff line change
Expand Up @@ -1588,7 +1588,7 @@ function apigee_edge_cron() {
// The reason of this is to avoid race conditions.
for ($i = 0; $i < 100; $i++) {
if (($job = $executor->select())) {
$executor->cast($job);
$executor->call($job);
}
else {
break;
Expand Down

0 comments on commit acc1c18

Please sign in to comment.