From 252feebceb667ec81f787908c177386f9a6b2fa1 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 10 Feb 2018 21:16:51 +0200 Subject: [PATCH] Disable sock purging --- iguana/exchanges/LP_network.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/iguana/exchanges/LP_network.c b/iguana/exchanges/LP_network.c index a2d754b4b..8041d3df9 100644 --- a/iguana/exchanges/LP_network.c +++ b/iguana/exchanges/LP_network.c @@ -613,7 +613,9 @@ void LP_psockloop(void *_ptr) } // else printf("num pfds.%d retval.%d\n",n,retval); } } - if ( IAMLP != 0 && sendsock < 0 ) + if ( sendsock < 0 ) + usleep(10000); + if ( 0 && IAMLP != 0 && sendsock < 0 ) { usleep(30000); for (i=nonz=0; i