aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/libev_helper.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2022-01-06 15:12:50 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2022-01-06 15:12:50 +0000
commitd3a1896577a0c8da2dc1d8908f99cbdbc0c23350 (patch)
tree1329278bb2fe77c27508d83dc57d055c1e7f1609 /src/libutil/libev_helper.h
parent1731e3c94597f2e5797bf8dcb2197da701560a0e (diff)
downloadrspamd-d3a1896577a0c8da2dc1d8908f99cbdbc0c23350.tar.gz
rspamd-d3a1896577a0c8da2dc1d8908f99cbdbc0c23350.zip
[Rework] Timeouts are now global per event and not reseted by IO activity
This actually reproduces old libevent behaviour and it was changed by a big design mistake. We really want IO timeouts to be fired for the whole set of subsequent events, otherwise it should be designed in a more configurable way...
Diffstat (limited to 'src/libutil/libev_helper.h')
-rw-r--r--src/libutil/libev_helper.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libutil/libev_helper.h b/src/libutil/libev_helper.h
index 8502043e6..fc344736f 100644
--- a/src/libutil/libev_helper.h
+++ b/src/libutil/libev_helper.h
@@ -37,7 +37,6 @@ struct rspamd_io_ev {
ev_timer tm;
rspamd_ev_cb cb;
void *ud;
- ev_tstamp last_activity;
ev_tstamp timeout;
};