Skip to content

Commit

Permalink
Allow ST_TELEGRAM_API_TIMEOUT_SECONDS greater than 30s
Browse files Browse the repository at this point in the history
  • Loading branch information
KostyaEsmukov committed Jan 3, 2025
1 parent 7d3108f commit dcb7052
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions smtp_to_telegram.go
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ func SmtpStart(
"save_process": "HeadersParser|Header|Hasher|TelegramBot",
"log_received_mails": true,
"primary_mail_host": smtpConfig.smtpPrimaryHost,
"gw_save_timeout": "600s", // Needs to be greater than ST_TELEGRAM_API_TIMEOUT_SECONDS
}
cfg.BackendConfig = bcfg

Expand Down

0 comments on commit dcb7052

Please sign in to comment.