Return-Path: Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: (qmail 89272 invoked from network); 9 Nov 2010 19:55:42 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 9 Nov 2010 19:55:42 -0000 Received: (qmail 3145 invoked by uid 500); 9 Nov 2010 19:56:13 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 3110 invoked by uid 500); 9 Nov 2010 19:56:13 -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 3101 invoked by uid 99); 9 Nov 2010 19:56:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Nov 2010 19:56:13 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Nov 2010 19:56:10 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 7ED7B23888E4; Tue, 9 Nov 2010 19:54:56 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1033181 - /activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Transport/InactivityMonitor.cs Date: Tue, 09 Nov 2010 19:54:56 -0000 To: commits@activemq.apache.org From: tabish@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20101109195456.7ED7B23888E4@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: tabish Date: Tue Nov 9 19:54:56 2010 New Revision: 1033181 URL: http://svn.apache.org/viewvc?rev=1033181&view=rev Log: Read check hack not needed now that apollo is fixed to output a keepalive at the requested rate. Modified: activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Transport/InactivityMonitor.cs Modified: activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Transport/InactivityMonitor.cs URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Transport/InactivityMonitor.cs?rev=1033181&r1=1033180&r2=1033181&view=diff ============================================================================== --- activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Transport/InactivityMonitor.cs (original) +++ activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Transport/InactivityMonitor.cs Tue Nov 9 19:54:56 2010 @@ -181,7 +181,7 @@ namespace Apache.NMS.Stomp.Transport /// public bool AllowReadCheck(TimeSpan elapsed) { - return (elapsed.TotalMilliseconds > (readCheckTime * 2) ); + return (elapsed.TotalMilliseconds > readCheckTime ); } #endregion