CartoDB-SQL-API/test/integration/batch
Daniel García Aubert 36d5dc1719 Queue seeker refactor:
- 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
2017-04-03 19:26:21 +02:00
..
job_backend.test.js skip state dependant test 2016-11-21 15:31:43 +01:00
job_canceller.test.js Re-use redis pool as much as possible 2016-10-17 15:02:34 +02:00
job_publisher.test.js Re-use redis pool as much as possible 2016-10-17 15:02:34 +02:00
job_runner.test.js Cancel with user statement_timeout limit from redis 2016-10-21 14:35:24 +02:00
job_service.test.js Re-use redis pool as much as possible 2016-10-17 15:02:34 +02:00
job-queue.test.js Queue seeker refactor: 2017-04-03 19:26:21 +02:00
locker.js Re-use redis pool as much as possible 2016-10-17 15:02:34 +02:00
scheduler.js Re-insert into the tree if there was a user in done state that gets a new task 2016-10-21 11:42:27 +02:00