From 81dc3e67cf4d5f4eac66696bdf51fcfb5cc9f303 Mon Sep 17 00:00:00 2001 From: Olivier Houchard Date: Fri, 25 Apr 2025 12:59:37 +0200 Subject: [PATCH] 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. --- src/check.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/check.c b/src/check.c index 4ebf8d937..4473e008f 100644 --- a/src/check.c +++ b/src/check.c @@ -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,