]
Ted Jones updated TEIID-1795:
-----------------------------
Attachment: teiid-console.patch
Long Running Queries Are Calculated Incorrectly
-----------------------------------------------
Key: TEIID-1795
URL:
https://issues.jboss.org/browse/TEIID-1795
Project: Teiid
Issue Type: Bug
Components: AdminApi
Affects Versions: 7.4, 7.5
Reporter: Ted Jones
Assignee: Steven Hawkins
Fix For: 7.4.1, 7.6
The long running query logic in DQPCore uses millisecs when comparing to the query
threshhold which is in seconds. It should both be in seconds.
// check if only need long running queries.
long elapsedTime = System.currentTimeMillis() - req.getStartTime();
if (longRunningQueryThreshold == -1 || elapsedTime > longRunningQueryThreshold) {
results.add(req);
}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: