mirror of
https://github.com/papra-hq/papra.git
synced 2026-01-06 08:59:37 -06:00
fix(tasks): add FLY_MACHINE_ID fallback to worker ids (#564)
This commit is contained in:
committed by
GitHub
parent
a7464f8b89
commit
ae37d1db36
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user