From 8270af53b2e4741fcacab49a21823597cc31d88c Mon Sep 17 00:00:00 2001 From: Determinant Date: Fri, 30 Aug 2019 20:23:53 -0400 Subject: quickfix: make msg queue unbounded --- include/salticidae/network.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/salticidae/network.h b/include/salticidae/network.h index f664493..fd69b58 100644 --- a/include/salticidae/network.h +++ b/include/salticidae/network.h @@ -553,7 +553,7 @@ void MsgNetwork::on_read(const ConnPool::conn_t &_conn) { return; } #endif - while (!incoming_msgs.enqueue(std::make_pair(msg, conn), false)) + while (!incoming_msgs.enqueue(std::make_pair(msg, conn), true)) std::this_thread::yield(); } } -- cgit v1.2.3-70-g09d2