36d5dc1719
- Extract from job subcriber everything related to queue dicovering - Job Queue is responsible of queue dicovering and exposes functions to scan user queues. - Batch creates an interval to consume queues - Now Batch.start() does: * Finds existing queues from metadata, adding to queue index the ones that are not indexed yet * Binds callback to process jobs for every queue found. * Inits queue consumer interval * Subscribes to PUB/SUB channel |
||
---|---|---|
.. | ||
job_backend.test.js | ||
job_canceller.test.js | ||
job_publisher.test.js | ||
job_runner.test.js | ||
job_service.test.js | ||
job-queue.test.js | ||
locker.js | ||
scheduler.js |