increase long poll timeout

This commit is contained in:
Buckaroo Banzai 2021-05-15 11:18:04 +02:00 committed by GitHub
parent eab60b1cdb
commit bdbd88424f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@ local function Channel(http, url, cfg)
cfg = cfg or {}
local extra_headers = cfg.extra_headers or {}
local timeout = cfg.timeout or 1
local long_poll_timeout = cfg.long_poll_timeout or 30
local long_poll_timeout = cfg.long_poll_timeout or 60
local error_retry = cfg.error_retry or 10
-- assemble post-header with json content