From bdf962758667bface7956dd84c55d30e7e458710 Mon Sep 17 00:00:00 2001 From: Javier Goizueta Date: Tue, 27 Dec 2016 17:11:39 +0100 Subject: [PATCH] Fix typo I needed to fix this; I felt some kitten was being killed somewhere because of this. And it made baby Jesus cry. --- .../python/cartodb_services/cartodb_services/mapzen/qps.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/lib/python/cartodb_services/cartodb_services/mapzen/qps.py b/server/lib/python/cartodb_services/cartodb_services/mapzen/qps.py index ca96c57..9b3b163 100644 --- a/server/lib/python/cartodb_services/cartodb_services/mapzen/qps.py +++ b/server/lib/python/cartodb_services/cartodb_services/mapzen/qps.py @@ -55,8 +55,8 @@ class QPSService: def retry(self, first_request_time, retry_count): elapsed = datetime.now() - first_request_time - elapsed_miliseconds = (elapsed.total_seconds() * 1000.0) - if elapsed_miliseconds > (self._retry_timeout * 1000.0): + elapsed_milliseconds = (elapsed.total_seconds() * 1000.0) + if elapsed_milliseconds > (self._retry_timeout * 1000.0): raise TimeoutException() # inverse qps * (1.5 ^ i) is an increased sleep time of 1.5x per