removed n_frames_received as it's not used

This commit is contained in:
2025-10-15 13:25:58 +02:00
parent 7230e95e1a
commit 6a6287755d

View File

@@ -24,15 +24,12 @@ def accumulate(accumulator_host, accumulator_port):
output = FileHandler()
n_frames_received = 0
while True:
if not zmq_socks.has_data():
output.flush() # may be too intensive
continue
results = zmq_socks.get_data()
n_frames_received += 1
detector = results.get("detector_name", "")
pulse_id = results.get("pulse_id", 0)