mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-10 08:02:56 +02: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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user