From ec601da90cab3556be79cfb68a839b457ca1144a Mon Sep 17 00:00:00 2001 From: Jean-Christophe Hoelt Date: Tue, 1 Nov 2016 08:14:42 +0200 Subject: [PATCH] Increase http clients' max_clients to 100 When some HTTP requests take too long, the queue of request gets filled up and other requests fail with timeouts / too lon to process errors. This is a simple (naive?) attempt to fix those errors, by increasing the max number of concurrent requests being processed. --- graphite_beacon/alerts.py | 1 + 1 file changed, 1 insertion(+) diff --git a/graphite_beacon/alerts.py b/graphite_beacon/alerts.py index 920efac..3fea839 100644 --- a/graphite_beacon/alerts.py +++ b/graphite_beacon/alerts.py @@ -25,6 +25,7 @@ 'normal': 20, } +hc.AsyncHTTPClient.configure(None, max_clients=100) class sliceable_deque(deque):