Skip to content

Commit

Permalink
fix lifecycletimer duration
Browse files Browse the repository at this point in the history
  • Loading branch information
zekroTJA committed Mar 14, 2021
1 parent 4d32d19 commit 2d36f16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ func main() {
}()
logger.Info("WEBSERVER :: started")

lct := lifecycletimer.New(24 * time.Second).
lct := lifecycletimer.New(24 * time.Hour).
Handle(func() { refetch(avatarAssetsHandler) }).
Handle(func() { cleanupExpiredRefreshTokens(db) }).
Start()
Expand Down

0 comments on commit 2d36f16

Please sign in to comment.