Skip to content

Commit

Permalink
DefaultConfig:update CleanWindow to 1 second
Browse files Browse the repository at this point in the history
  • Loading branch information
AgrimPrasad committed Jul 9, 2019
1 parent bbf64ae commit dfa8bc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func DefaultConfig(eviction time.Duration) Config {
return Config{
Shards: 1024,
LifeWindow: eviction,
CleanWindow: 0,
CleanWindow: 1 * time.Second,
MaxEntriesInWindow: 1000 * 10 * 60,
MaxEntrySize: 500,
Verbose: true,
Expand Down

0 comments on commit dfa8bc1

Please sign in to comment.