fix: fix Nginx parser start without gourutine
Some checks failed
build / build (push) Failing after 2m54s
Some checks failed
build / build (push) Failing after 2m54s
This commit is contained in:
@@ -5,6 +5,7 @@ import (
|
||||
)
|
||||
|
||||
func Write(db *DB, resultCh <-chan *LogEntry) {
|
||||
db.logger.Info("Starting log writer")
|
||||
const batchSize = 100
|
||||
const flushInterval = 1 * time.Second
|
||||
|
||||
|
||||
Reference in New Issue
Block a user