From 9b685ecbb9800b8437fff869f359823d7f6c7f3b Mon Sep 17 00:00:00 2001 From: ruti <> Date: Fri, 13 Sep 2024 09:13:58 +0300 Subject: [PATCH] restore events after reconnect dc6966e broke auto --- extend.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extend.c b/extend.c index a9395bb..d1a2df6 100644 --- a/extend.c +++ b/extend.c @@ -331,7 +331,8 @@ int on_desync_again(struct poolhd *pool, struct eval *val, char *buffer, size_t bfsize) { if (val->flag == FLAG_CONN) { - if (mod_etype(pool, val, POLLIN)) { + if (mod_etype(pool, val, POLLIN) || + mod_etype(pool, val->pair, POLLIN)) { uniperror("mod_etype"); return -1; }