mirror of
https://github.com/haproxy/haproxy.git
synced 2026-03-24 11:23:14 -04:00
MEDIUM: checks: Make sure we return the tasklet from srv_chk_io_cb
In srv_chk_io_cb, return the tasklet to tell the scheduler the tasklet is still alive, it is not yet needed, but will be soon.
This commit is contained in:
parent
beb23069c6
commit
81dc3e67cf
1 changed files with 1 additions and 1 deletions
|
|
@ -1105,7 +1105,7 @@ struct task *srv_chk_io_cb(struct task *t, void *ctx, unsigned int state)
|
|||
struct stconn *sc = ctx;
|
||||
|
||||
wake_srv_chk(sc);
|
||||
return NULL;
|
||||
return t;
|
||||
}
|
||||
|
||||
/* returns <0, 0, >0 if check thread 1 is respectively less loaded than,
|
||||
|
|
|
|||
Loading…
Reference in a new issue