The RelayServer tends to miss the last messages from the Detector_streamer.py when "sleeptime" is set to 0 (out of 20 runs, all messages were received in 8 runs, and in 12 runs, only between 889-1028 of 1046 messages were received).
An example of how to reproduce this is by running the following in the terminal:
input='{"sleeptime": "0", "scan_file": "/data/visitors/softimax/20230687/2023092608/raw/20230927/scan_000118_andor.h5", "path_to_data": "/entry/instrument/zyla/data", "detector": "andor"}'
python "/home/reblex/RelayServer/relayserver.py" "${input}"
This is likely happening when the RelayServer cannot keep up with the rate at which the frames are sent.
The RelayServer tends to miss the last messages from the Detector_streamer.py when "sleeptime" is set to 0 (out of 20 runs, all messages were received in 8 runs, and in 12 runs, only between 889-1028 of 1046 messages were received).
An example of how to reproduce this is by running the following in the terminal:
This is likely happening when the RelayServer cannot keep up with the rate at which the frames are sent.