From 1bd66b30d248336b77539beaf83b773272199ad2 Mon Sep 17 00:00:00 2001 From: KaylaBrady <31781298+KaylaBrady@users.noreply.github.com> Date: Mon, 9 Dec 2024 14:24:06 -0500 Subject: [PATCH] tmp: Rotate tokens faster for debugging --- config/runtime.exs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/runtime.exs b/config/runtime.exs index 0c9bb085..e9b2bc90 100644 --- a/config/runtime.exs +++ b/config/runtime.exs @@ -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,