Skip to content
Snippets Groups Projects
Commit 993fc5a1 authored by Patrick Godwin's avatar Patrick Godwin
Browse files

lloidhandler.py: increase rate at which state data/ram history gets pushed...

lloidhandler.py: increase rate at which state data/ram history gets pushed into Kafka to 1 Hz, removing checkboard effect in heatmaps
parent 512203da
No related branches found
No related tags found
No related merge requests found
Pipeline #49834 passed with warnings
......@@ -260,7 +260,7 @@ class EyeCandy(object):
t = inspiral.now()
if self.time_since_last_state is None:
self.time_since_last_state = t
if self.producer is not None and (t - self.time_since_last_state) > 1:
if self.producer is not None and (t - self.time_since_last_state) >= 1:
self.time_since_last_state = t
for ii, column in enumerate(["time", "data"]):
self.kafka_data["ram_history"][column].append(float(self.ram_history[-1][ii]))
......
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