From fc8e84ccd7f29314ffe184c64b66b46c90f2e320 Mon Sep 17 00:00:00 2001 From: marvzhang Date: Sun, 19 Apr 2020 11:41:58 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=97=A5=E5=BF=97=E6=8F=92?= =?UTF-8?q?=E5=85=A5=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/services/task.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/services/task.go b/backend/services/task.go index 7601acfe..fb513275 100644 --- a/backend/services/task.go +++ b/backend/services/task.go @@ -202,7 +202,7 @@ func SetLogConfig(cmd *exec.Cmd, t model.Task) error { if isStdoutFinished && isStderrFinished { break } - time.Sleep(1 * time.Second) + time.Sleep(5 * time.Second) } }()