modify plugin name
This commit is contained in:
@@ -19,6 +19,7 @@ use Psr\Container\ContainerExceptionInterface;
|
||||
use Psr\Container\NotFoundExceptionInterface;
|
||||
use ReflectionException;
|
||||
use Swoole\Server;
|
||||
use Swoole\Timer;
|
||||
|
||||
|
||||
/**
|
||||
|
||||
+1
-1
@@ -127,7 +127,7 @@ class Server extends HttpService
|
||||
*/
|
||||
protected function onWorkerListener(): void
|
||||
{
|
||||
$this->provider->on(OnWorkerStop::class, '\Swoole\Timer::clearAll');
|
||||
$this->provider->on(OnWorkerStop::class, '\Swoole\Timer::clearAll', 9999);
|
||||
$this->provider->on(OnWorkerStart::class, [$this, 'setWorkerName']);
|
||||
$this->provider->on(OnTaskerStart::class, [$this, 'setTaskerName']);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user