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
|
||
|---|---|---|
| .. | ||
| app.ts | ||
| bodyparser.ts | ||
| cors.ts | ||
| database.ts | ||
| hash.ts | ||
| inertia.ts | ||
| logger.ts | ||
| queue.ts | ||
| session.ts | ||
| shield.ts | ||
| static.ts | ||
| transmit.ts | ||
| vite.ts | ||