Multiple queries jobs pushed as first job between queries
This commit is contained in:
parent
e108d0df57
commit
578c43b1a8
1
NEWS.md
1
NEWS.md
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
Announcements:
|
Announcements:
|
||||||
* limited batch queries to 12 hours
|
* limited batch queries to 12 hours
|
||||||
|
* Multiple queries jobs pushed as first job between queries.
|
||||||
|
|
||||||
|
|
||||||
1.37.1 - 2016-10-05
|
1.37.1 - 2016-10-05
|
||||||
|
@ -82,7 +82,7 @@ JobRunner.prototype._run = function (job, query, profiler, callback) {
|
|||||||
return callback(null, job);
|
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) {
|
if (err) {
|
||||||
return callback(err);
|
return callback(err);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user