client: make ping interval and timeout configurable

Signed-off-by: Sumner Evans <sumner.evans@automattic.com>
This commit is contained in:
Sumner Evans
2024-08-14 14:38:43 -06:00
parent d94dbe81dc
commit 3a11ac217e
3 changed files with 17 additions and 0 deletions
+7
View File
@@ -47,3 +47,10 @@ member_list:
#
# -1 means no limit (which means all chats can be bridged)
max_member_count: -1
# Settings for pings to the Telegram server.
ping:
# The interval (in seconds) between pings.
interval_seconds: 30
# The timeout (in seconds) for a single ping.
timeout_seconds: 10