Commit bf4d3c34 authored by Felix Wege's avatar Felix Wege

removed polling timeout from nanomsg

parent 5aecab1c
......@@ -595,8 +595,8 @@ void Villas_interface::receive_messages(std::list<Villas_message> &messages) {
int poll;
int messages_read = 0;
int UPPER_BOUND = 100;
int timeout_poll = 10; //timeout for nn_poll in milliseconds
int UPPER_BOUND = 1; // Only read one message per step
int timeout_poll = 0; //timeout for nn_poll in milliseconds
// use method nn_poll to determine if nanomsg in socket holds at least 1 message
// use upper bound for max number of messages to receive in one sim time step
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment