mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 21:05:19 +00:00
feat(server): copilot job models (#10732)
This commit is contained in:
@@ -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',
|
||||
},
|
||||
});
|
||||
|
||||
@@ -26,6 +26,7 @@ export enum Queue {
|
||||
NIGHTLY_JOB = 'nightly',
|
||||
NOTIFICATION = 'notification',
|
||||
DOC = 'doc',
|
||||
COPILOT = 'copilot',
|
||||
}
|
||||
|
||||
export const QUEUES = Object.values(Queue);
|
||||
|
||||
Reference in New Issue
Block a user