Limit amount of historical data loaded on start
This commit is contained in:
parent
33acd05b8a
commit
5524d16f68
1 changed files with 3 additions and 1 deletions
|
@ -54,7 +54,9 @@ def main():
|
|||
consumer.write(res)
|
||||
del extra
|
||||
|
||||
for i in range(days):
|
||||
# Historical data isn't actually used anywhere yet
|
||||
# Limit to 4 days for now
|
||||
for i in range(min(days, 4)):
|
||||
hist = cc.get_historical(i)
|
||||
res = hist.as_dict()
|
||||
log({i: res})
|
||||
|
|
Loading…
Reference in a new issue