From f62aedda125cbc5ca5a3810f0473fe9fa8fc9a68 Mon Sep 17 00:00:00 2001 From: pictuga Date: Sat, 21 Feb 2015 01:55:53 +0800 Subject: [PATCH] Double HTTP timeout Better slow than nothing (especially when running on a personal computer) --- morss/morss.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/morss/morss.py b/morss/morss.py index a28908d..f8d6d31 100644 --- a/morss/morss.py +++ b/morss/morss.py @@ -34,7 +34,7 @@ LIM_TIME = 7 # deletes what's after MAX_ITEM = 50 # cache-only beyond MAX_TIME = 7 # cache-only after (in sec) DELAY = 10 * 60 # xml cache & ETag cache (in sec) -TIMEOUT = 2 # http timeout (in sec) +TIMEOUT = 4 # http timeout (in sec) THREADS = 10 # number of threads (1 for single-threaded) DEBUG = False