mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-05-01 05:02:24 +02:00
Reduce number of IO threads
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
namespace stream_config
|
||||
{
|
||||
// N of IO threads to receive data from modules.
|
||||
const int STREAM_ZMQ_IO_THREADS = 4;
|
||||
const int STREAM_ZMQ_IO_THREADS = 2;
|
||||
// How long should the RECV queue be.
|
||||
const size_t STREAM_RCVHWM = 100;
|
||||
// Size of buffer between the receiving and sending part.
|
||||
|
||||
@@ -55,7 +55,7 @@ int main (int argc, char *argv[])
|
||||
auto n_lost_pulses = receiver.get_next_image(meta, data);
|
||||
|
||||
if (n_lost_pulses > 0) {
|
||||
cout << "sf_stream:resync_lost_pulses " << n_lost_pulses << endl;
|
||||
cout << "sf_stream:sync_lost_pulses " << n_lost_pulses << endl;
|
||||
}
|
||||
|
||||
auto end_time = steady_clock::now();
|
||||
|
||||
Reference in New Issue
Block a user