改名
This commit is contained in:
@@ -51,7 +51,6 @@ class ServerInotify extends Process
|
||||
foreach ($this->dirs as $dir) {
|
||||
$this->loadByDir($dir);
|
||||
}
|
||||
Timer::after(2000, [$this, 'tick']);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -67,9 +66,6 @@ class ServerInotify extends Process
|
||||
foreach ($this->dirs as $dir) {
|
||||
$this->loadByDir($dir, true);
|
||||
}
|
||||
if ($this->isReloading) {
|
||||
return;
|
||||
}
|
||||
Timer::after(2000, [$this, 'tick']);
|
||||
}
|
||||
|
||||
@@ -98,6 +94,7 @@ class ServerInotify extends Process
|
||||
break;
|
||||
}
|
||||
}
|
||||
Timer::after(2000, [$this, 'tick']);
|
||||
}
|
||||
|
||||
|
||||
@@ -189,6 +186,7 @@ class ServerInotify extends Process
|
||||
*/
|
||||
public function timerReload()
|
||||
{
|
||||
Timer::clearAll();
|
||||
if ($this->isReloading) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user