0

Do not call AnyEvent->now_update every 2 minutes, as it looks useless in this script

We reload all event hendlers if time skew in script own counter more
than 60 seconds as per ab68a26e84, no
other timekeeping issues are reported, so considering
AnyEvent->now_update useless for this particular usecase.
This commit is contained in:
Sergei Fedosov
2021-07-20 12:07:48 +03:00
parent 371dc68667
commit 91cf117ee8

View File

@@ -153,13 +153,6 @@ sub add_events () {
}
# Register callbacks/event handlers
push @EP, AnyEvent->timer (
after => 1,
interval => 120,
cb => sub {
AnyEvent->now_update;
},
);
# Actually print messages there
push @EP, AnyEvent->timer (