From: luke bonham Date: Mon, 8 Sep 2014 16:51:48 +0000 (+0200) Subject: imap: increased curl connect-timeout X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/24ac1f98e6a5a92a61e5935b2ed4d03ed79ec6b0?ds=sidebyside;hp=f37a31878edfb59d56c2b0fde04ae80c46a8809e imap: increased curl connect-timeout --- diff --git a/widgets/imap.lua b/widgets/imap.lua index 65c425e..3a6da8d 100644 --- a/widgets/imap.lua +++ b/widgets/imap.lua @@ -34,7 +34,7 @@ local function worker(args) local is_plain = args.is_plain or false 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)'" helpers.set_map(mail, 0)