From 78cdf8f96b756c01d1685e6dc2332b723d6a4025 Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Fri, 10 Jan 2020 11:23:30 -0500 Subject: [PATCH] variable lookup timeout on participants --- llarp/dht/context.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llarp/dht/context.cpp b/llarp/dht/context.cpp index 5691a48f8..bf4c3a62d 100644 --- a/llarp/dht/context.cpp +++ b/llarp/dht/context.cpp @@ -598,7 +598,7 @@ namespace llarp TXOwner peer(askpeer, ++ids); _pendingIntrosetLookups.NewTX( peer, asker, addr, - new ServiceAddressLookup(asker, addr, this, R, handler)); + new ServiceAddressLookup(asker, addr, this, R, handler), (R * 2000)); } void @@ -611,7 +611,7 @@ namespace llarp TXOwner peer(askpeer, ++ids); _pendingIntrosetLookups.NewTX( peer, asker, addr, - new ServiceAddressLookup(asker, addr, this, 0, handler)); + new ServiceAddressLookup(asker, addr, this, 0, handler), 1000); } void