rotate 1분으로 변경

main
JungJun 2 years ago
parent 6d9cfe9573
commit f63f05debd

@ -173,7 +173,8 @@ func (s IcsService) LogWatcher() *icserror.IcsError {
times := mi2 - mi1
rotateTime := math.Abs(float64(times))
if rotateTime > 4 { // 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)

Loading…
Cancel
Save