aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2019-08-30 20:23:53 -0400
committerDeterminant <[email protected]>2019-08-30 20:23:53 -0400
commit8270af53b2e4741fcacab49a21823597cc31d88c (patch)
tree84e8abcd55d7ccb5e56a0d664757e3988a481650 /include
parent384d9277458cbd90c94d1510e5d20d96b26010c8 (diff)
quickfix: make msg queue unbounded
Diffstat (limited to 'include')
-rw-r--r--include/salticidae/network.h2
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();
}
}