Skip to content

Commit

Permalink
reduced refresh duration
Browse files Browse the repository at this point in the history
  • Loading branch information
junaidrahim committed Jan 2, 2022
1 parent 2685898 commit ea83310
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/router/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func Router() *mux.Router {
urlmap.Init()
auth.Init()

schedule(urlmap.Map.Update, 5*time.Minute)
schedule(urlmap.Map.Update, 5*time.Second)

router := mux.NewRouter()
router.Use(secure)
Expand Down

0 comments on commit ea83310

Please sign in to comment.