project-nomad/admin/config
Lorenzo Galassi fe6735fdcb
fix(queue): share one ioredis connection across BullMQ queues and workers (#1009)
BullMQ instantiates a fresh ioredis client per Queue/Worker when handed a
plain {host, port} config object, and under sustained ZIM ingestion the
embed pipeline leaked ~1 client/sec until Redis maxclients was exhausted.
Pass a single shared ioredis instance (maxRetriesPerRequest: null, as
required by BullMQ) so all queues and workers reuse one client pool.
Workers still duplicate the connection once for their blocking client,
which is expected and bounded.

Closes #885
2026-06-23 04:47:08 +00:00
..
app.ts feat: initial commit 2025-06-29 15:51:08 -07:00
bodyparser.ts feat(KnowledgeBase): support up to 5 files upload of 100mb each per req 2026-04-03 14:26:50 -07:00
cors.ts feat: initial commit 2025-06-29 15:51:08 -07:00
database.ts fix: cache docker list requests, aiAssistantName fetching, and ensure inertia used properly 2026-04-03 14:26:50 -07:00
hash.ts feat: initial commit 2025-06-29 15:51:08 -07:00
inertia.ts fix: cache docker list requests, aiAssistantName fetching, and ensure inertia used properly 2026-04-03 14:26:50 -07:00
logger.ts fix(logging): also write production logs to stdout for docker visibility (#870) 2026-05-27 15:32:28 -07:00
queue.ts fix(queue): share one ioredis connection across BullMQ queues and workers (#1009) 2026-06-23 04:47:08 +00:00
session.ts feat: initial commit 2025-06-29 15:51:08 -07:00
shield.ts feat: initial commit 2025-06-29 15:51:08 -07:00
static.ts feat: background job overhaul with bullmq 2025-12-06 23:59:01 -08:00
transmit.ts feat(config): respect REDIS_DB env var for queue and transmit 2026-06-23 04:46:51 +00:00
vite.ts feat: initial commit 2025-06-29 15:51:08 -07:00