proper explore for clients

pull/523/head
Jeff Becker 5 years ago
parent 524bed9d9b
commit 66432afdda
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -329,7 +329,9 @@ namespace llarp
if(left)
return;
Context* ctx = static_cast< Context* >(u);
ctx->Explore();
const auto num = std::min(ctx->router->NumberOfConnectedRouters(), size_t(4));
if(num)
ctx->Explore(num);
ctx->router->logic()->call_later({orig, ctx, &handle_explore_timer});
}

Loading…
Cancel
Save