From 72a1a86886bfcebe97abe20511b09f7c57f22a5e 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 1c49fe573..da9c20b0b 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 <>