https://issues.apache.org/bugzilla/show_bug.cgi?id=51388

             Bug #: 51388
           Summary: SlowQueryReport should respect
                    Statement.getQueryTimeout() value
           Product: Tomcat Modules
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: jdbc-pool
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: hay_d...@yahoo.com
    Classification: Unclassified


It would be nice if the threshold for slow queries could be configured on a
per-query basis.

This could be done by respecting the value returned from
Statement.getQueryTimeout() in AbstractQueryReport.StatementProxy.  If the
value returned from the Statement is non-zero and greater than the
SlowQueryReport 'threshold', the the value from the query is used instead.

This behavior should probably be something that could be toggled on or off.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to