Skip to content

Commit

Permalink
Merge pull request #5 from misu99/master
Browse files Browse the repository at this point in the history
fix: The cpu usage is too high.
  • Loading branch information
dongxuny authored Oct 30, 2022
2 parents 69ef586 + 1ccafcb commit 85519bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions syncer_loki.go
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ func (syncer *LokiSyncer) Bootstrap(context.Context) {
syncer.send()
waitChannel.Reset(syncer.maxBatchWaitMs)
}
time.Sleep(time.Duration(10) * time.Millisecond)
}
}
}()
Expand Down

0 comments on commit 85519bd

Please sign in to comment.