From 8fda9c555f6527789d45c951d8dbd18b989a02d6 Mon Sep 17 00:00:00 2001
From: CHAD RICHARD HANNA <crh184@psu.edu>
Date: Fri, 12 Jul 2019 08:23:24 -0400
Subject: [PATCH] lloidhandler: truncate ranking data even more since we are
 still causing gracedb problems with the new analysis

---
 gstlal-inspiral/python/lloidhandler.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gstlal-inspiral/python/lloidhandler.py b/gstlal-inspiral/python/lloidhandler.py
index 112033c366..e09d011c78 100644
--- a/gstlal-inspiral/python/lloidhandler.py
+++ b/gstlal-inspiral/python/lloidhandler.py
@@ -1286,8 +1286,8 @@ class Handler(simplehandler.Handler):
 				# empty horizon history
 				pass
 			else:
-				# keep the last day of history
-				endtime -= 86400. * 1
+				# keep the last hour of history
+				endtime -= 3600. * 1
 				for history in rankingstat.numerator.horizon_history.values():
 					del history[:endtime]
 		else:
-- 
GitLab