diff --git a/src/proxy.c b/src/proxy.c index 1ee4d6d05..7971a7ca9 100644 --- a/src/proxy.c +++ b/src/proxy.c @@ -485,7 +485,7 @@ void maintain_proxies(int *next) goto do_block; if (p->fe_sps_lim && - (wait = next_event_delay(&p->fe_sess_per_sec, p->fe_sps_lim, 0))) { + (wait = next_event_delay(&p->fe_sess_per_sec, p->fe_sps_lim, 1))) { /* we're blocking because a limit was reached on the number of * requests/s on the frontend. We want to re-check ASAP, which * means in 1 ms before estimated expiration date, because the