改名
This commit is contained in:
@@ -39,7 +39,6 @@ class ServerInotify extends Process
|
|||||||
*/
|
*/
|
||||||
public function onHandler(\Swoole\Process $process)
|
public function onHandler(\Swoole\Process $process)
|
||||||
{
|
{
|
||||||
Snowflake::setWorkerId($process->pid);
|
|
||||||
set_error_handler([$this, 'onErrorHandler']);
|
set_error_handler([$this, 'onErrorHandler']);
|
||||||
if (extension_loaded('inotify')) {
|
if (extension_loaded('inotify')) {
|
||||||
$this->inotify = inotify_init();
|
$this->inotify = inotify_init();
|
||||||
|
|||||||
Reference in New Issue
Block a user