Multiple queries jobs pushed as first job between queries

This commit is contained in:
Raul Ochoa 2016-10-06 18:27:38 +02:00
parent e108d0df57
commit 578c43b1a8
2 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@
Announcements:
* limited batch queries to 12 hours
* Multiple queries jobs pushed as first job between queries.
1.37.1 - 2016-10-05

View File

@ -82,7 +82,7 @@ JobRunner.prototype._run = function (job, query, profiler, callback) {
return callback(null, job);
}
self.jobQueue.enqueue(job.data.job_id, job.data.host, function (err) {
self.jobQueue.enqueueFirst(job.data.job_id, job.data.host, function (err) {
if (err) {
return callback(err);
}