Return-Path: X-Original-To: apmail-tomcat-dev-archive@www.apache.org Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 269E7642E for ; Thu, 16 Jun 2011 21:29:54 +0000 (UTC) Received: (qmail 80115 invoked by uid 500); 16 Jun 2011 21:28:41 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 78625 invoked by uid 500); 16 Jun 2011 21:28:39 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 77641 invoked by uid 99); 16 Jun 2011 21:16:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Jun 2011 21:16:15 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.115] (HELO eir.zones.apache.org) (140.211.11.115) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Jun 2011 21:16:13 +0000 Received: by eir.zones.apache.org (Postfix, from userid 80) id 7D64B48843; Thu, 16 Jun 2011 21:15:52 +0000 (UTC) From: bugzilla@apache.org To: dev@tomcat.apache.org Subject: DO NOT REPLY [Bug 51388] New: SlowQueryReport should respect Statement.getQueryTimeout() value Date: Thu, 16 Jun 2011 21:15:52 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Tomcat Modules X-Bugzilla-Component: jdbc-pool X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: hay_dave@yahoo.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: dev@tomcat.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org 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_dave@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-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org