Commit a33cefbc authored by Chad Hanna's avatar Chad Hanna Committed by Patrick Godwin

lloidhandler.py: Make the horizon history 1 day instead of 1 week for uploads....

lloidhandler.py: Make the horizon history 1 day instead of 1 week for uploads.  This reduces file size to 5 MB which is highly desirable but also doesn't detract from e.g., making plots.
parent f29a2613
Pipeline #64379 failed with stages
in 1 minute and 6 seconds
......@@ -1284,8 +1284,8 @@ class Handler(simplehandler.Handler):
# empty horizon history
pass
else:
# keep the last week of history
endtime -= 86400. * 7
# keep the last day of history
endtime -= 86400. * 1
for history in rankingstat.numerator.horizon_history.values():
del history[:endtime]
else:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment