reduced log rotation memory usage

This commit is contained in:
2024-09-18 17:50:14 +02:00
parent 64fbdbbbdf
commit 38da65a848
2 changed files with 29 additions and 34 deletions

View File

@@ -68,6 +68,8 @@ func RunBlocking(rc *RunConfig) {
panic(err)
}
defer logger.Rotate()
go func() {
for {
time.Sleep(time.Hour * 24)