Skip to content

Project NOMAD is an offline-first knowledge and education server. Wikipedia, thousands of books, courses, maps, and optional local AI, all running on hardware you own with no internet required.

TypeScript

fix(queue): increase BullMQ lockDuration to prevent download stalls (#604)

0xGlitch2609530d2507
diff --git a/admin/commands/queue/work.ts b/admin/commands/queue/work.ts
index 453268df..5fac5ecd 100644
--- a/admin/commands/queue/work.ts
+++ b/admin/commands/queue/work.ts
@@ -61,6 +61,7 @@ export default class QueueWork extends BaseCommand {
{
connection: queueConfig.connection,
concurrency: this.getConcurrencyForQueue(queueName),
+ lockDuration: 300000,
autorun: true,
}
)