From 975f6f85a228efb166d1da1cf996c0703ac5d441 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Fri, 5 Nov 2021 14:27:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kiri-engine/FileListen/FileChangeCustomProcess.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kiri-engine/FileListen/FileChangeCustomProcess.php b/kiri-engine/FileListen/FileChangeCustomProcess.php index cc961542..27ae3b6d 100644 --- a/kiri-engine/FileListen/FileChangeCustomProcess.php +++ b/kiri-engine/FileListen/FileChangeCustomProcess.php @@ -98,7 +98,8 @@ class FileChangeCustomProcess extends Command if (is_resource($this->source)) { proc_terminate($this->source); while (proc_get_status($this->source)['running']) { - Coroutine::sleep(0.001); + var_dump(proc_get_status($this->source)); + Coroutine::sleep(1); } proc_close($this->source); $this->source = null;