Skip to content

Commit

Permalink
Reisolate content discovery community (#7756)
Browse files Browse the repository at this point in the history
  • Loading branch information
qstokkink committed Dec 6, 2023
1 parent 9d1d06d commit 795583c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from ipv8.peerdiscovery.churn import RandomChurn
from ipv8.peerdiscovery.network import Network
from tribler.core.components.component import Component
from tribler.core.components.content_discovery.community.content_discovery_community import ContentDiscoveryCommunity
from tribler.core.components.ipv8.ipv8_component import INFINITE, Ipv8Component
Expand All @@ -23,7 +24,7 @@ async def run(self):
self.community = ContentDiscoveryCommunity(ContentDiscoveryCommunity.settings_class(
my_peer = self._ipv8_component.peer,
endpoint = self._ipv8_component.ipv8.endpoint,
network = self._ipv8_component.ipv8.network,
network = Network(),
maximum_payload_size = self.session.config.content_discovery_community.maximum_payload_size,
metadata_store=metadata_store_component.mds,
torrent_checker=torrent_checker_component.torrent_checker,
Expand Down

0 comments on commit 795583c

Please sign in to comment.