Return-Path: X-Original-To: apmail-activemq-commits-archive@www.apache.org Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 008DDC921 for ; Sun, 29 Jul 2012 12:06:42 +0000 (UTC) Received: (qmail 51885 invoked by uid 500); 29 Jul 2012 12:06:41 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 51776 invoked by uid 500); 29 Jul 2012 12:06:38 -0000 Mailing-List: contact commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list commits@activemq.apache.org Received: (qmail 51721 invoked by uid 99); 29 Jul 2012 12:06:36 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Jul 2012 12:06:36 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 856FD142851 for ; Sun, 29 Jul 2012 12:06:36 +0000 (UTC) Date: Sun, 29 Jul 2012 12:06:36 +0000 (UTC) From: "Hiram Chirino (JIRA)" To: commits@activemq.apache.org Message-ID: <1667821896.114153.1343563596551.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1568313525.113949.1343539534539.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (APLO-230) Default timeout for OpenWire inactivity is incorrect MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/APLO-230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13424524#comment-13424524 ] Hiram Chirino commented on APLO-230: ------------------------------------ Thanks for spotting this. You are correct. This has now been fixed. > Default timeout for OpenWire inactivity is incorrect > ---------------------------------------------------- > > Key: APLO-230 > URL: https://issues.apache.org/jira/browse/APLO-230 > Project: ActiveMQ Apollo > Issue Type: Bug > Components: apollo-openwire > Affects Versions: 1.3 > Reporter: Christian Posta > Fix For: 1.4 > > > I think (based on what ActiveMQ has as its defaults) that the max_inactivity_duration and max_inactivity_duration_initial_delay default values might be incorrect. ActiveMQ has them at 30s: > From: OpenWireFormatFactory: > private long maxInactivityDuration = 30*1000; > private long maxInactivityDurationInitalDelay = 10*1000; > But Apollo has them set for 8.33 hrs: > DEFAULT_WIREFORMAT_SETTINGS.setMaxInactivityDuration(30 * 1000 * 1000); > DEFAULT_WIREFORMAT_SETTINGS.setMaxInactivityDurationInitalDelay(10 * 1000 * 1000); > Patch is easy, can submit it, but just wanted to confirm that this is indeed wrong? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira