Skip to content

Commit

Permalink
tmp: Rotate tokens faster for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
KaylaBrady committed Dec 9, 2024
1 parent 88b939b commit 1bd66b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/runtime.exs
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ case System.get_env("MAPBOX_PRIMARY_TOKEN") do
config :mobile_app_backend, MobileAppBackend.ClientConfig,
mapbox_primary_token: primary_token,
mapbox_username: System.get_env("MAPBOX_USERNAME"),
token_expiration: :timer.minutes(30),
token_renewal: :timer.minutes(25)
token_expiration: :timer.seconds(10),
token_renewal: :timer.seconds(5)

_ ->
config :mobile_app_backend, MobileAppBackend.ClientConfig,
Expand Down

0 comments on commit 1bd66b3

Please sign in to comment.