mirror of
https://github.com/yzernik/squeaknode.git
synced 2026-08-16 13:01:04 +02:00
Fix get peers to sync in network synv (#640)
This commit is contained in:
parent
41278868bd
commit
6bef275057
1 changed files with 1 additions and 2 deletions
|
|
@ -30,8 +30,7 @@ class NetworkSync(ABC):
|
|||
self.stopped.set()
|
||||
|
||||
def sync(self):
|
||||
peers = self.squeak_controller.get_peers()
|
||||
for peer in peers:
|
||||
for peer in self.get_peers_to_sync():
|
||||
sync_peer_thread = threading.Thread(
|
||||
target=self._sync_peer,
|
||||
args=(peer,),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue