Skip to content

Commit 2df189c

Browse files
updated comments
1 parent fb8a07a commit 2df189c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Pools/Adapter/Swoole.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public function synchronized(callable $callback, int $timeout): mixed
7272
try {
7373
return $callback();
7474
} finally {
75-
// guranteed to have space so no timeout otherwise there will be no token and results deadlock
75+
// Guaranteed to have space here; avoid timeouts so the token isn't lost.
7676
$this->lock->push(true);
7777
}
7878
}

0 commit comments

Comments
 (0)