Skip to content

Commit

Permalink
Merge branch 'fix/6283' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
drew2a committed Sep 16, 2021
2 parents 8baf4fc + f3e2e94 commit c7e1b16
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,16 @@ async def run(self):
else:
tunnel_cls = TriblerTunnelCommunity

provider = DHTCommunityProvider(dht_discovery_community, config.ipv8.port) if dht_discovery_community else None

# TODO: decouple bandwidth community and dlmgr to initiate later
community = tunnel_cls(peer, ipv8.endpoint, ipv8.network,
socks_servers=socks_servers,
config=config.tunnel_community,
notifier=self.session.notifier,
dlmgr=download_manager,
bandwidth_community=bandwidth_community,
dht_provider=DHTCommunityProvider(dht_discovery_community, config.ipv8.port),
dht_provider=provider,
settings=settings)

# Value of `target_peers` must not be equal to the value of `max_peers` for this community.
Expand Down

0 comments on commit c7e1b16

Please sign in to comment.