This commit is contained in:
2020-09-07 17:35:51 +08:00
parent 21cc21e0e7
commit da56a09161
-1
View File
@@ -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();