1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-08-01 20:26:56 +03:00

Upgrade chrono and replace deprecated methods usage

This commit is contained in:
Quentin Gliech
2024-03-18 14:00:38 +01:00
parent f543a8bd40
commit 61a69f5af4
32 changed files with 103 additions and 85 deletions

View File

@ -22,7 +22,7 @@ use serde_with::serde_as;
use crate::ConfigurationSection;
fn default_token_ttl() -> Duration {
Duration::minutes(5)
Duration::microseconds(5 * 60 * 1000 * 1000)
}
/// Configuration sections for experimental options