From c086e9c19f781e9e44530ca9d6d5f0902ac38bf7 Mon Sep 17 00:00:00 2001 From: Dhanya Maliakal Date: Fri, 1 Sep 2017 13:58:00 +0200 Subject: [PATCH] allow for slow joiner in zmq --- slsReceiverSoftware/include/ZmqSocket.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/slsReceiverSoftware/include/ZmqSocket.h b/slsReceiverSoftware/include/ZmqSocket.h index 4ac54c3ac..d09b4939b 100644 --- a/slsReceiverSoftware/include/ZmqSocket.h +++ b/slsReceiverSoftware/include/ZmqSocket.h @@ -124,6 +124,9 @@ public: PrintError (); Close (); } + + //sleep for a few milliseconds to allow a slow-joiner + usleep(200* 1000); }; /**