From e3e83df196698fb9666ab7ebfdbc8cd0306058cb Mon Sep 17 00:00:00 2001 From: ckolivas Date: Wed, 25 Feb 2015 15:29:39 +1100 Subject: [PATCH] Add a small sleep between attempts at pinging the stratifier at startup to avoid floods of messages --- src/generator.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/generator.c b/src/generator.c index 2bcaf385..0cec54b0 100644 --- a/src/generator.c +++ b/src/generator.c @@ -2308,6 +2308,7 @@ int generator(proc_instance_t *pi) ret = 1; goto out; } + cksleep_ms(10); buf = send_recv_proc(ckp->stratifier, "ping"); } while (!buf); dealloc(buf);