From 0b5582ed0d855099f2959a45909db270f34e8dc6 Mon Sep 17 00:00:00 2001 From: Vinnie Falco Date: Mon, 20 Apr 2015 13:41:48 -0700 Subject: [PATCH] Disable redundant ping timer --- src/ripple/websocket/WebSocket02.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ripple/websocket/WebSocket02.cpp b/src/ripple/websocket/WebSocket02.cpp index 1c49fe573a..da9c20b0b4 100644 --- a/src/ripple/websocket/WebSocket02.cpp +++ b/src/ripple/websocket/WebSocket02.cpp @@ -72,6 +72,7 @@ boost::asio::io_service::strand& WebSocket02::getStrand (Connection& con) template <> void ConnectionImpl ::setPingTimer () { +#if 0 connection_ptr ptr = m_connection.lock (); if (ptr) @@ -86,6 +87,7 @@ void ConnectionImpl ::setPingTimer () this->m_pingTimer.async_wait (ptr->get_strand ().wrap (pt)); } +#endif } template <>