diff options
author | Determinant <[email protected]> | 2019-08-30 20:23:53 -0400 |
---|---|---|
committer | Determinant <[email protected]> | 2019-08-30 20:23:53 -0400 |
commit | 8270af53b2e4741fcacab49a21823597cc31d88c (patch) | |
tree | 84e8abcd55d7ccb5e56a0d664757e3988a481650 | |
parent | 384d9277458cbd90c94d1510e5d20d96b26010c8 (diff) |
quickfix: make msg queue unbounded
-rw-r--r-- | include/salticidae/network.h | 2 |
1 files changed, 1 insertions, 1 deletions
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<OpcodeType>::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(); } } |