diff --git a/System/Process/ServerInotify.php b/System/Process/ServerInotify.php index 14810a34..5d623ead 100644 --- a/System/Process/ServerInotify.php +++ b/System/Process/ServerInotify.php @@ -39,7 +39,6 @@ class ServerInotify extends Process */ public function onHandler(\Swoole\Process $process) { - Snowflake::setWorkerId($process->pid); set_error_handler([$this, 'onErrorHandler']); if (extension_loaded('inotify')) { $this->inotify = inotify_init();