Skip to content

Commit

Permalink
Fix PHP 8.1 deprecation warning (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
starred-gijs authored Jul 21, 2022
1 parent ffcf401 commit ba5a4c6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/ConsumerStrategies/CurlConsumer.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ protected function _execute($url, $batch) {
curl_multi_add_handle($mh,$ch);
}

$running = 0;

do {
curl_multi_exec($mh, $running);
curl_multi_select($mh);
Expand Down

0 comments on commit ba5a4c6

Please sign in to comment.