feat(server): copilot job models (#10732)

This commit is contained in:
darkskygit
2025-03-19 14:34:14 +00:00
parent dd31ef95db
commit b099546164
8 changed files with 372 additions and 5 deletions

View File

@@ -54,4 +54,8 @@ defineRuntimeConfig('job', {
default: 1,
desc: 'Concurrency of worker consuming of doc job queue',
},
'queues.copilot.concurrency': {
default: 1,
desc: 'Concurrency of worker consuming of copilot job queue',
},
});

View File

@@ -26,6 +26,7 @@ export enum Queue {
NIGHTLY_JOB = 'nightly',
NOTIFICATION = 'notification',
DOC = 'doc',
COPILOT = 'copilot',
}
export const QUEUES = Object.values(Queue);