mirror of
https://github.com/safing/portbase
synced 2025-09-09 22:05:49 +00:00
Make linter happy
This commit is contained in:
parent
df62abdf1b
commit
ee9f722a9c
10 changed files with 21 additions and 14 deletions
|
@ -45,7 +45,7 @@ func (i *Interface) DelayedCacheWriter(ctx context.Context) error {
|
|||
i.flushWriteCache(0)
|
||||
|
||||
case <-thresholdWriteTicker.C:
|
||||
// Often check if the the write cache has filled up to a certain degree and
|
||||
// Often check if the write cache has filled up to a certain degree and
|
||||
// flush it to storage before we start evicting to-be-written entries and
|
||||
// slow down the hot path again.
|
||||
i.flushWriteCache(percentThreshold)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue