Skip to content

Commit

Permalink
fix: swoole_sem is no longer supported (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
sy-records committed Sep 10, 2020
1 parent 9b99b52 commit 71e5b01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PipeGoTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function __construct(DomainConfig $config, ?Process $process = null)
{
$this->process = $process;
$this->config = $config;
$this->lock = new Lock(SWOOLE_SEM);
$this->lock = new Lock();
}

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

0 comments on commit 71e5b01

Please sign in to comment.