[teiid-issues] [JBoss JIRA] (TEIID-1795) Long Running Queries Are Calculated Incorrectly
Ted Jones (Created) (JIRA)
jira-events at lists.jboss.org
Tue Oct 25 11:54:45 EDT 2011
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.5, 7.4
Reporter: Ted Jones
Assignee: Steven Hawkins
Fix For: 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: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the teiid-issues
mailing list