From a360962918dab66a8d455b692afc31a4710a3974 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Fri, 29 Jan 2016 13:52:24 +0000 Subject: Tweaks to handle large RRDP deltas better. svn path=/branches/tk705/; revision=6240 --- rp/rcynic/rcynicng | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'rp') diff --git a/rp/rcynic/rcynicng b/rp/rcynic/rcynicng index ba6dfefe..c0415246 100755 --- a/rp/rcynic/rcynicng +++ b/rp/rcynic/rcynicng @@ -933,7 +933,10 @@ class Fetcher(object): ok = False t0 = time.time() client = tornado.httpclient.AsyncHTTPClient() - response = yield client.fetch(url, validate_cert = False, request_timeout = args.https_timeout) + response = yield client.fetch(url, + validate_cert = False, + connect_timeout = args.https_timeout, + request_timeout = args.https_timeout) # Might want to check response Content-Type here ok = True @@ -1316,7 +1319,7 @@ def main(): parser.add_argument("--prefer-rsync", action = "store_true") - parser.add_argument("--fetch-ahead-goal", default = 5, type = posint) + parser.add_argument("--fetch-ahead-goal", default = 2, type = posint) parser.add_argument("--https-timeout", default = 300, type = posint) -- cgit v1.2.3