Skip to content

Commit dfebe2e

Browse files
authored
Merge pull request #55 from SimoneDoc/main
Update Worker.php
2 parents 7e8af95 + d98402b commit dfebe2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Net/Gearman/Worker.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ public function beginWork($monitor = null)
440440
$this->retryConnections();
441441

442442
if (!empty($this->conn)) {
443-
$worked = $this->askForWork();
443+
$worked = $this->askForWork($monitor);
444444

445445
if ($worked) {
446446
$lastJobTime = time();

0 commit comments

Comments
 (0)