Skip to content
Snippets Groups Projects
Commit 6b378919 authored by Chad Hanna's avatar Chad Hanna
Browse files

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 b71ac73b
No related branches found
No related tags found
No related merge requests found
......@@ -1285,8 +1285,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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment