Skip to content

Commit

Permalink
DefaultConfig:change CleanWindow to 1 second (#147)
Browse files Browse the repository at this point in the history
Signed-off-by: Agrim Prasad <[email protected]>
  • Loading branch information
AgrimPrasad authored and cristaloleg committed Jul 13, 2019
1 parent bbf64ae commit c00e2be
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 c00e2be

Please sign in to comment.