Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5785c92

Browse files
authored
Merge pull request #764 from ssiergl/master
[fs] polling_interval config should be milliseconds not microseconds
2 parents 565f0f7 + 7794f6d commit 5785c92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/fs/FsConsumer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public function receive(int $timeout = 0): ?Message
9090
return null;
9191
}
9292

93-
usleep($this->pollingInterval);
93+
usleep($this->pollingInterval * 1000);
9494

9595
if ($timeout && (microtime(true) - $startAt) >= $timeout) {
9696
return null;

0 commit comments

Comments
 (0)