refactoring: rename func writer
All checks were successful
build / build (push) Successful in 3m31s

This commit is contained in:
d3m0k1d
2026-01-22 21:08:55 +03:00
parent fb624a9147
commit fb32886d4a
3 changed files with 7 additions and 7 deletions

View File

@@ -4,7 +4,7 @@ import (
"time"
)
func Write(db *Request_Writer, resultCh <-chan *LogEntry) {
func WriteReq(db *Request_Writer, resultCh <-chan *LogEntry) {
db.logger.Info("Starting log writer")
const batchSize = 100
const flushInterval = 1 * time.Second