[ADD] Add accept_pings parameters

This is off by default, but highly encouraged for Synapse deployments
This commit is contained in:
lda 2025-02-12 08:24:18 +00:00
commit 1c51d57355
6 changed files with 23 additions and 5 deletions

View file

@ -63,7 +63,7 @@ ParseeCheckMatrix(void *datp)
{
static volatile uint64_t streak = 0;
ParseeData *data = datp;
if (!ASPing(data->config))
if (data->config->accept_pings && !ASPing(data->config))
{
Log(LOG_ERR, "Cannot reach '%s' properly...", data->config->homeserver_host);
if (++streak == 10)