[BUG] fix broken health-checks since switch to timeval
Health-checks were broken because of a return which was unexpectedly removed.
This commit is contained in:
parent
3c5340c35b
commit
8eee9c8457
|
@ -410,6 +410,7 @@ void process_chk(struct task *t, struct timeval *next)
|
|||
tv_ms_add(&t->expire, &now, s->inter);
|
||||
task_queue(t); /* restore t to its place in the task list */
|
||||
*next = t->expire;
|
||||
return;
|
||||
}
|
||||
else if (errno != EALREADY && errno != EISCONN && errno != EAGAIN) {
|
||||
s->result = -1; /* a real error */
|
||||
|
|
Loading…
Reference in New Issue