From e67ef290d1c672ef4f06c359832d76f68efd06e3 Mon Sep 17 00:00:00 2001 From: Kevin Ma Date: Mon, 16 Sep 2024 11:35:15 -0400 Subject: [PATCH] Adjusted UI_EXPIRY_HOURS based on deploy environment --- app/models/manifest.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/manifest.rb b/app/models/manifest.rb index ec715b6e8..1e137bca3 100644 --- a/app/models/manifest.rb +++ b/app/models/manifest.rb @@ -19,7 +19,7 @@ class Manifest < ApplicationRecord failed: 3 } - UI_HOURS_UNTIL_EXPIRY = 72 + UI_HOURS_UNTIL_EXPIRY = Rails.non_production_env? ? 0.25 : 72 API_HOURS_UNTIL_EXPIRY = 3 SECONDS_TO_AUTO_UNLOCK = 5