Re-enable upstream OAuth session cleanup job
It should be safe to run now
This commit is contained in:
@@ -211,16 +211,12 @@ pub async fn init(
|
|||||||
"0 57 * * * *".parse()?,
|
"0 57 * * * *".parse()?,
|
||||||
mas_storage::queue::CleanupUserEmailAuthenticationsJob,
|
mas_storage::queue::CleanupUserEmailAuthenticationsJob,
|
||||||
)
|
)
|
||||||
// This job is currently disabled, as it needs a database backfill to
|
.add_schedule(
|
||||||
// happen, which will happen in the next release. Some context in
|
"cleanup-upstream-oauth-sessions",
|
||||||
// https://github.com/element-hq/matrix-authentication-service/issues/5435
|
// Run this job every hour
|
||||||
//
|
"0 58 * * * *".parse()?,
|
||||||
//.add_schedule(
|
mas_storage::queue::CleanupUpstreamOAuthSessionsJob,
|
||||||
// "cleanup-upstream-oauth-sessions",
|
)
|
||||||
// // Run this job every hour
|
|
||||||
// "0 58 * * * *".parse()?,
|
|
||||||
// mas_storage::queue::CleanupUpstreamOAuthSessionsJob,
|
|
||||||
//)
|
|
||||||
.add_schedule(
|
.add_schedule(
|
||||||
"cleanup-upstream-oauth-links",
|
"cleanup-upstream-oauth-links",
|
||||||
// Run this job every hour
|
// Run this job every hour
|
||||||
|
|||||||
Reference in New Issue
Block a user