mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-12-24 19:11:00 +01: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
@ -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…
x
Reference in New Issue
Block a user