mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-14 01:30:19 +00:00
Refactor timer handling
This allows us to omit the lagometer timer in the event that it is not enabled, bringing the baseline wake-up rate down to 1Hz from 2Hz, which could bring considerable power savings on mobile devices.
This commit is contained in:
committed by
Patrick Griffis
parent
111ba3750f
commit
7dca220486
@@ -233,7 +233,7 @@ is_dcc_completed (struct DCC *dcc)
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/* this is called from hexchat.c:hexchat_misc_checks() every 1 second. */
|
||||
/* this is called from hexchat.c:hexchat_check_dcc() every 1 second. */
|
||||
|
||||
void
|
||||
dcc_check_timeouts (void)
|
||||
|
||||
Reference in New Issue
Block a user