mirror of https://github.com/lcpz/lain.git
imap: increased curl connect-timeout
This commit is contained in:
parent
b371de56f8
commit
8989408582
|
@ -34,7 +34,7 @@ local function worker(args)
|
||||||
local is_plain = args.is_plain or false
|
local is_plain = args.is_plain or false
|
||||||
local settings = args.settings or function() end
|
local settings = args.settings or function() end
|
||||||
|
|
||||||
local head_command = "curl --connect-timeout 1 -fsm 3"
|
local head_command = "curl --connect-timeout 3 -fsm 3"
|
||||||
local request = "-X 'SEARCH (UNSEEN)'"
|
local request = "-X 'SEARCH (UNSEEN)'"
|
||||||
|
|
||||||
helpers.set_map(mail, 0)
|
helpers.set_map(mail, 0)
|
||||||
|
|
Loading…
Reference in New Issue