Browse Source

Add a small sleep between attempts at pinging the stratifier at startup to avoid floods of messages

master
ckolivas 10 years ago
parent
commit
e3e83df196
  1. 1
      src/generator.c

1
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);

Loading…
Cancel
Save