mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Disable Websocket ping timer
This commit is contained in:
@@ -74,6 +74,8 @@ template <>
|
|||||||
void ConnectionImpl <WebSocket02>::setPingTimer ()
|
void ConnectionImpl <WebSocket02>::setPingTimer ()
|
||||||
{
|
{
|
||||||
auto freq = getConfig ().WEBSOCKET_PING_FREQ;
|
auto freq = getConfig ().WEBSOCKET_PING_FREQ;
|
||||||
|
// VFALCO Disabled since it might cause hangs
|
||||||
|
freq = 0;
|
||||||
if (freq <= 0)
|
if (freq <= 0)
|
||||||
return;
|
return;
|
||||||
connection_ptr ptr = m_connection.lock ();
|
connection_ptr ptr = m_connection.lock ();
|
||||||
|
|||||||
@@ -116,6 +116,8 @@ template <>
|
|||||||
void ConnectionImpl <WebSocket04>::setPingTimer ()
|
void ConnectionImpl <WebSocket04>::setPingTimer ()
|
||||||
{
|
{
|
||||||
auto freq = getConfig ().WEBSOCKET_PING_FREQ;
|
auto freq = getConfig ().WEBSOCKET_PING_FREQ;
|
||||||
|
// VFALCO Disabled since it might cause hangs
|
||||||
|
freq = 0;
|
||||||
if (freq <= 0)
|
if (freq <= 0)
|
||||||
return;
|
return;
|
||||||
if (auto con = m_connection.lock ())
|
if (auto con = m_connection.lock ())
|
||||||
|
|||||||
Reference in New Issue
Block a user