Skip to content

Commit

Permalink
update max overdue time
Browse files Browse the repository at this point in the history
  • Loading branch information
t-aleksander authored and teon committed Aug 28, 2024
1 parent f19afb0 commit aa98b84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/enterprise/license.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit aa98b84

Please sign in to comment.