Revert "改名"

This reverts commit fdf58326
This commit is contained in:
2022-01-12 16:01:55 +08:00
parent 035138a779
commit 8955891c2f
+4 -2
View File
@@ -3,7 +3,6 @@
namespace Kiri\FileListen;
use Exception;
use Swoole\Timer;
class Scaner
{
@@ -68,8 +67,11 @@ class Scaner
}
if (is_file($value)) {
if ($this->checkFile($value, $isReload)) {
Timer::after(2000, fn() => $this->timerReload());
$this->isReloading = TRUE;
sleep(2);
$this->timerReload($value);
break;
}
}