Set proper intervals for monitoring

This commit is contained in:
Andrew Ayer 2023-02-03 17:12:48 -05:00
parent 1b4eb20c8b
commit e044aae1df
2 changed files with 3 additions and 4 deletions

View File

@ -21,8 +21,8 @@ import (
)
const (
reloadLogListIntervalMin = 3 * time.Second // TODO-3: use 30 * time.Minute
reloadLogListIntervalMax = 9 * time.Second // TODO-3: use 90 * time.Minute
reloadLogListIntervalMin = 30 * time.Minute
reloadLogListIntervalMax = 90 * time.Minute
healthCheckInterval = 24 * time.Hour
)

View File

@ -29,8 +29,7 @@ import (
const (
maxGetEntriesSize = 1000
//monitorLogInterval = 5 * time.Minute // TODO-3
monitorLogInterval = 15 * time.Second
monitorLogInterval = 5 * time.Minute
)
func isFatalLogError(err error) bool {