Skip to content
Permalink
Browse files

[fix] cron rolling curl call INSIDE the loop :/

  • Loading branch information...
vincib committed Feb 28, 2018
1 parent 24b37b2 commit f392ad11a08cbd05e9cf589004457ed84586edd9
Showing with 2 additions and 3 deletions.
  1. +2 −3 bureau/class/m_cron.php
@@ -240,10 +240,9 @@ function execute_cron() {
if (empty($urllist)) { // nothing to do :
exit(0);
}
// cron_callback($url, $content, $curlobj) will be called at the end of each http call.
$this->rolling_curl($urllist, array("m_cron", "cron_callback"));
}
// cron_callback($url, $content, $curlobj) will be called at the end of each http call.
$this->rolling_curl($urllist, array("m_cron", "cron_callback"));
}

0 comments on commit f392ad1

Please sign in to comment.
You can’t perform that action at this time.