Skip to content

Commit

Permalink
cleaner
Browse files Browse the repository at this point in the history
  • Loading branch information
kdudkov committed Sep 6, 2024
1 parent 122c5c6 commit eefaa7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/goatak_server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ func (app *App) notifyMissionSubscribers(mission *im.Mission, c *im.Change) {
}

func (app *App) cleaner() {
for range time.Tick(time.Minute) {
for range time.Tick(time.Second * 5) {
app.cleanOldUnits()
}
}
Expand Down
2 changes: 1 addition & 1 deletion cmd/webclient/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ func RandString(strlen int) string {
}

func (app *App) cleaner() {
for range time.Tick(time.Minute) {
for range time.Tick(time.Second * 5) {
app.cleanOldUnits()
}
}
Expand Down

0 comments on commit eefaa7a

Please sign in to comment.