Reduce number of IO threads

This commit is contained in:
2020-06-09 14:29:18 +02:00
parent 9ff5c08b9b
commit e0c3d673cc
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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.
+1 -1
View File
@@ -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();