feat(server): refactor mail queue (#15204)

This commit is contained in:
DarkSky
2026-07-07 08:38:16 +08:00
committed by GitHub
parent 9581432d21
commit 998b255afd
72 changed files with 8386 additions and 763 deletions
@@ -102,4 +102,12 @@ defineModuleConfig('job', {
},
schema,
},
'queues.inviteAbuse': {
desc: 'The config for invite abuse disposition job queue',
default: {
concurrency: 1,
},
schema,
},
});
@@ -30,6 +30,7 @@ export enum Queue {
INDEXER = 'indexer',
CALENDAR = 'calendar',
BACKENDRUNTIME = 'backendRuntime',
INVITE_ABUSE = 'inviteAbuse',
}
export const QUEUES = Object.values(Queue);