Fix warning about certificate expiry appearing every 43 seconds

rather than twice a day. Reported by PeGaSuS in
https://bugs.unrealircd.org/view.php?id=5797
This commit is contained in:
Bram Matthys 2020-12-16 15:40:02 +01:00
parent 9d88bb6fe9
commit b2ceb9c825
No known key found for this signature in database
GPG key ID: BF8116B163EAAE98

View file

@ -240,5 +240,5 @@ void SetupEvents(void)
EventAdd(NULL, "check_deadsockets", check_deadsockets, NULL, 1000, 0);
EventAdd(NULL, "handshake_timeout", handshake_timeout, NULL, 1000, 0);
EventAdd(NULL, "try_connections", try_connections, NULL, 2000, 0);
EventAdd(NULL, "tls_check_expiry", tls_check_expiry, NULL, 86400/2, 0);
EventAdd(NULL, "tls_check_expiry", tls_check_expiry, NULL, (86400/2)*1000, 0);
}