limit build rate a lot more

This commit is contained in:
Jeff Becker 2018-11-19 11:48:35 -05:00
parent 2e13daae27
commit 90a4f90ee6
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05
1 changed files with 2 additions and 4 deletions

View File

@ -37,10 +37,8 @@ namespace llarp
size_t
PathSet::MinRequiredForRoles(PathRole roles) const
{
size_t require = m_NumPaths > 1 ? m_NumPaths / 2 : m_NumPaths;
if(roles & ePathRoleInboundHS || roles & ePathRoleOutboundHS)
require += 2;
return require;
(void)roles;
return 0;
}
void