This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
// When the worker resumes the deletions a module's erasure held up: every five minutes, with no
|
||||
// organization scope (an account belongs to none); and when it retries the revocations of derived
|
||||
// service sessions a platform has not confirmed. The worker's composition root turns it on
|
||||
// (apps/worker/src/schedules.ts), as it does the files module's recovery.
|
||||
|
||||
import { DELETION_SWEEP_CRON, DELETION_SWEEP_JOB, REVOCATION_CRON, REVOCATION_JOB } from "./contract/constants.js"
|
||||
|
||||
export const ACCOUNT_SCHEDULES = Object.freeze([
|
||||
Object.freeze({ job: DELETION_SWEEP_JOB, cron: DELETION_SWEEP_CRON, scope: null }),
|
||||
// Every minute: the revocations of app sessions whose derived service sessions a module's platform
|
||||
// has not confirmed ending yet (the revocation outbox, core/revocation.ts), each on its own backoff.
|
||||
Object.freeze({ job: REVOCATION_JOB, cron: REVOCATION_CRON, scope: null }),
|
||||
])
|
||||
Reference in New Issue
Block a user