From 41b72c2789f73242e6ccae6e1f3e53c47237c3ac Mon Sep 17 00:00:00 2001 From: DarkPhoenix Date: Tue, 4 Jun 2019 09:51:10 +0300 Subject: [PATCH] Fix comment --- service/price.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/price.py b/service/price.py index 6005d0e3e..1bedc66e8 100644 --- a/service/price.py +++ b/service/price.py @@ -123,7 +123,7 @@ class Price: timeBefore = timeit.default_timer() pyfalog.info('Trying {}'.format(source)) timedOutSources[source] = False - # Total timeout is equal to remaining time + # Time we allocate for a source depends on source weight and remaining time sourceFetchTimeout = remainingTime * sources[source] / sum(sources.values()) try: sourceCls = cls.sources.get(source)