mirror of
https://github.com/oxen-io/lokinet
synced 2023-12-14 06:53:00 +01:00
Merge pull request #1079 from majestrate/remove-dht-message-limit-2020-02-03
make message queue unbound for direct dht messages
This commit is contained in:
commit
1403cff805
|
@ -291,7 +291,7 @@ namespace llarp
|
|||
|
||||
MessageQueue &path_queue = itr_pair.first->second;
|
||||
|
||||
if(path_queue.size() < MAX_PATH_QUEUE_SIZE)
|
||||
if(path_queue.size() < MAX_PATH_QUEUE_SIZE || entry.pathid.IsZero())
|
||||
{
|
||||
path_queue.push(std::move(entry));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue