From cefb5324d531264bfa0f636034a4466e0279de07 Mon Sep 17 00:00:00 2001 From: Umputun Date: Fri, 30 Nov 2018 11:30:55 -0600 Subject: [PATCH] double telegram timeout --- backend/app/notify/telegram.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/notify/telegram.go b/backend/app/notify/telegram.go index de1331b1..fd1f6cb4 100644 --- a/backend/app/notify/telegram.go +++ b/backend/app/notify/telegram.go @@ -22,7 +22,7 @@ type Telegram struct { timeout time.Duration } -const telegramTimeOut = 2500 * time.Millisecond +const telegramTimeOut = 5000 * time.Millisecond const telegramAPIPrefix = "https://api.telegram.org/bot" // NewTelegram makes telegram bot for notifications