diff --git a/crates/tasks/src/lib.rs b/crates/tasks/src/lib.rs index 54dc8d713..f238773c8 100644 --- a/crates/tasks/src/lib.rs +++ b/crates/tasks/src/lib.rs @@ -211,12 +211,16 @@ pub async fn init( "0 57 * * * *".parse()?, mas_storage::queue::CleanupUserEmailAuthenticationsJob, ) - .add_schedule( - "cleanup-upstream-oauth-sessions", - // Run this job every hour - "0 58 * * * *".parse()?, - mas_storage::queue::CleanupUpstreamOAuthSessionsJob, - ) + // This job is currently disabled, as it needs a database backfill to + // happen, which will happen in the next release. Some context in + // https://github.com/element-hq/matrix-authentication-service/issues/5435 + // + //.add_schedule( + // "cleanup-upstream-oauth-sessions", + // // Run this job every hour + // "0 58 * * * *".parse()?, + // mas_storage::queue::CleanupUpstreamOAuthSessionsJob, + //) .add_schedule( "cleanup-upstream-oauth-links", // Run this job every hour