Commit 673a16c3 authored by Alessio Netti's avatar Alessio Netti

Analytics: minor fix to JobOperatorTemplate

parent 233b4768
......@@ -290,7 +290,7 @@ protected:
try {
_jobDataVec.clear();
uint64_t queryTsEnd = !this->_scheduledTime ? getTimestamp() : this->_scheduledTime;
uint64_t queryTsStart = this->_scheduledTime - (this->_interval * 1000000);
uint64_t queryTsStart = queryTsEnd - (this->_interval * 1000000);
if(this->_queryEngine.queryJob("", queryTsStart, queryTsEnd, _jobDataVec, false, true)) {
_tempUnits.clear();
// Producing units from the job data, discarding invalid jobs in the process
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment