diff options
author | Martin Sustrik <sustrik@fastmq.commkdir> | 2010-01-05 14:45:10 +0100 |
---|---|---|
committer | Martin Sustrik <sustrik@fastmq.commkdir> | 2010-01-05 14:45:10 +0100 |
commit | ef049efe2ec56bb0ff5395ba8cba6e1722922e43 (patch) | |
tree | 577d47fae2c11f5032b27c57b4d7eebfc000a027 /src | |
parent | 8d339e959694107df8f1666634a34f54ad76ae41 (diff) |
perf tests modified to reflect change in subscription format
Diffstat (limited to 'src')
-rw-r--r-- | src/zmq_engine.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/zmq_engine.cpp b/src/zmq_engine.cpp index 40cedfb..a79c0bd 100644 --- a/src/zmq_engine.cpp +++ b/src/zmq_engine.cpp @@ -102,9 +102,11 @@ void zmq::zmq_engine_t::in_event () // Stop polling for input if we got stuck. if (processed < insize) { - zmq_assert (false); - // TODO: This may happen is queue limits are implemented. - // reset_pollin (handle); + + // This may happen if queue limits are implemented or when + // init object reads all required information from the socket + // and rejects to read more data. + reset_pollin (handle); } // Flush all messages the decoder may have produced. |