un limit lmq

This commit is contained in:
Jeff 2020-10-02 05:51:52 -04:00
parent 7852735b36
commit 503a92c992
1 changed files with 2 additions and 1 deletions

View File

@ -66,7 +66,8 @@ namespace llarp
, m_lokidRpcClient(std::make_shared<rpc::LokidRpcClient>(m_lmq, this))
{
m_keyManager = std::make_shared<KeyManager>();
// for lokid, so we don't close the connection when syncing the whitelist
m_lmq->MAX_MSG_SIZE = -1;
_stopping.store(false);
_running.store(false);
_lastTick = llarp::time_now_ms();