Skip to content

Commit 71e5b01

Browse files
authored
fix: swoole_sem is no longer supported (#24)
1 parent 9b99b52 commit 71e5b01

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/PipeGoTask.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public function __construct(DomainConfig $config, ?Process $process = null)
4949
{
5050
$this->process = $process;
5151
$this->config = $config;
52-
$this->lock = new Lock(SWOOLE_SEM);
52+
$this->lock = new Lock();
5353
}
5454

5555
public function call(string $method, $payload, int $flags = 0)

0 commit comments

Comments
 (0)