diff options
| author | mrw1593 <botahamec@outlook.com> | 2023-06-11 15:34:00 -0400 |
|---|---|---|
| committer | mrw1593 <botahamec@outlook.com> | 2023-06-11 15:34:00 -0400 |
| commit | ac7317226405fc90e8439a0c1bef91cecd539d02 (patch) | |
| tree | 61e7009238b6002d51e93ede8f52aa7bef526f2b /src/main.rs | |
| parent | 83fdd59b13d4bf45bd35d9693ae361ff896636ab (diff) | |
Implement the authorization code grant
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 1106dc0..da740be 100644 --- a/src/main.rs +++ b/src/main.rs @@ -29,7 +29,7 @@ fn error_content_language<B>( async fn delete_expired_tokens(db: MySqlPool) { let db = db.clone(); - let mut interval = actix_rt::time::interval(Duration::from_secs(60 * 10)); + let mut interval = actix_rt::time::interval(Duration::from_secs(60 * 20)); loop { interval.tick().await; if let Err(e) = db::delete_expired_auth_codes(&db).await { |
