Fix comment

This commit is contained in:
DarkPhoenix
2019-06-04 09:51:10 +03:00
parent a4be7c5e9a
commit 41b72c2789

View File

@@ -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)