Skip to content

Commit

Permalink
Set cleaning interval to 5 to 10 minutes instead of 2 to 3 hours
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles-Antoine Mathieu committed Aug 6, 2023
1 parent 2541c29 commit 2477946
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ func NewPlikServer(config *common.Configuration) (ps *PlikServer) {
ps = new(PlikServer)
ps.config = config

ps.cleaningRandomDelay = 3600
ps.cleaningMinOffset = 7200
ps.cleaningRandomDelay = 300
ps.cleaningMinOffset = 300

ps.metrics = common.NewPlikMetrics()
ps.close = make(chan struct{})
Expand Down

0 comments on commit 2477946

Please sign in to comment.