1
1
Fork 0
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:
Jeff 2020-02-12 12:10:11 -05:00 committed by GitHub
commit 1403cff805
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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));
}