From 5201d00a948caab47ce451c218fdc8ab59e1c016 Mon Sep 17 00:00:00 2001 From: JungJun Date: Tue, 19 Jul 2022 18:03:20 +0900 Subject: [PATCH] =?UTF-8?q?=ED=86=B5=ED=95=A9=ED=86=B5=EA=B3=84=20?= =?UTF-8?q?=EC=8B=9C=EA=B0=84=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- icssvc/icssvc.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/icssvc/icssvc.go b/icssvc/icssvc.go index fd53a57..a232c9f 100644 --- a/icssvc/icssvc.go +++ b/icssvc/icssvc.go @@ -174,8 +174,8 @@ func (s IcsService) LogWatcher() *icserror.IcsError { times := mi2 - mi1 rotateTime := math.Abs(float64(times)) - // if rotateTime > 4 { // only 5 minute - if rotateTime > 1 { // only 5 minute + if rotateTime > 4 { // only 5 minute + // if rotateTime > 1 { // only 5 minute s.config = icsconf.GetIcsConfig() logpath := fmt.Sprintf("%s", s.config.LogConfig.Path) aSpace := icsutil.GetDiskAvailableSpace(logpath)