update timeout and buffer size

This commit is contained in:
poiuty 2023-07-03 22:50:23 +03:00
parent fbbe4921c9
commit 926814260d
2 changed files with 7 additions and 4 deletions

View file

@ -204,6 +204,7 @@ func saveLogs() {
bulk = nil
}
case m := <-slog:
//fmt.Println("slog", len(slog), cap(slog))
if len(m.Mes) > 0 {
bulk = append(bulk, m)
}