mirror of
https://github.com/buger/goreplay.git
synced 2024-04-21 12:32:02 +00:00
Disable forced flush
This commit is contained in:
@@ -53,14 +53,6 @@ func NewFileOutput(pathTemplate string, config *FileOutputConfig) *FileOutput {
|
||||
o.config = config
|
||||
o.updateName()
|
||||
|
||||
// Force flushing every minute
|
||||
go func() {
|
||||
for {
|
||||
time.Sleep(o.config.flushInterval)
|
||||
o.flush()
|
||||
}
|
||||
}()
|
||||
|
||||
go func() {
|
||||
for {
|
||||
time.Sleep(time.Second)
|
||||
|
||||
Reference in New Issue
Block a user