From aa98b84c5c604a7a658fa131244b296f268dd897 Mon Sep 17 00:00:00 2001 From: Aleksander <170264518+t-aleksander@users.noreply.github.com> Date: Wed, 28 Aug 2024 14:01:19 +0200 Subject: [PATCH] update max overdue time --- src/enterprise/license.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/enterprise/license.rs b/src/enterprise/license.rs index acb68ef7d..70520b9ae 100644 --- a/src/enterprise/license.rs +++ b/src/enterprise/license.rs @@ -439,7 +439,7 @@ pub fn update_cached_license(key: Option<&str>) -> Result<(), LicenseError> { const RENEWAL_TIME: TimeDelta = TimeDelta::hours(24); /// Maximum amount of time a license can be over its expiry date. -const MAX_OVERDUE_TIME: TimeDelta = TimeDelta::hours(24); +const MAX_OVERDUE_TIME: TimeDelta = TimeDelta::days(14); /// Periodic license check task const CHECK_PERIOD: Duration = Duration::from_secs(12 * 60 * 60);