modify mysql result

This commit is contained in:
2022-04-29 14:49:29 +08:00
parent af768725d8
commit 91aae64512
2 changed files with 59 additions and 60 deletions
+5 -6
View File
@@ -51,16 +51,15 @@ class Inotify extends BaseProcess
set_exception_handler([$this, 'error']);
if (!extension_loaded('inotify')) {
Timer::tick(1000, function ($cid) {
while (true) {
if ($this->isStop()) {
Timer::clear($cid);
break;
}
});
sleep(1);
}
return;
}
$this->dirs = Config::get('inotify', []);
$this->dirs = Config::get('reload.inotify', []);
$this->start();
}