Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-1795

Long Running Queries Are Calculated Incorrectly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.4.1, 7.6
    • 7.4, 7.5
    • AdminApi
    • None

      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);
      }

              rhn-engineering-shawkins Steven Hawkins
              rhn-engineering-tejones Edwin Jones
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: