diff --git a/apps/papra-server/src/modules/tasks/tasks.config.ts b/apps/papra-server/src/modules/tasks/tasks.config.ts index 03df7f0..54727a8 100644 --- a/apps/papra-server/src/modules/tasks/tasks.config.ts +++ b/apps/papra-server/src/modules/tasks/tasks.config.ts @@ -43,9 +43,9 @@ export const tasksConfig = { }, worker: { id: { - doc: 'The id of the task worker, used to identify the worker in the Cadence cluster in case of multiple workers', + doc: 'The id of the task worker, used to identify the worker in the Cadence cluster in case of multiple workers, should be unique per instance', schema: z.string().optional(), - env: ['TASKS_WORKER_ID', 'DYNO', 'RENDER_SERVICE_ID'], + env: ['TASKS_WORKER_ID', 'DYNO', 'RENDER_SERVICE_ID', 'FLY_MACHINE_ID'], }, }, hardDeleteExpiredDocuments: {