Skip to content

Commit dfa8bc1

Browse files
committed
DefaultConfig:update CleanWindow to 1 second
1 parent bbf64ae commit dfa8bc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ func DefaultConfig(eviction time.Duration) Config {
4848
return Config{
4949
Shards: 1024,
5050
LifeWindow: eviction,
51-
CleanWindow: 0,
51+
CleanWindow: 1 * time.Second,
5252
MaxEntriesInWindow: 1000 * 10 * 60,
5353
MaxEntrySize: 500,
5454
Verbose: true,

0 commit comments

Comments
 (0)