From d0497cf6b50a8e657d0f1bc02a3482d8ff0936fa Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Thu, 28 Jul 2022 21:40:55 -0300 Subject: [PATCH] dht_crawler: skip saving connections for now --- scripts/dht_crawler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/dht_crawler.py b/scripts/dht_crawler.py index 9da3283b3..3766b3e99 100644 --- a/scripts/dht_crawler.py +++ b/scripts/dht_crawler.py @@ -277,7 +277,7 @@ class Crawler: await self.db.save_peers(*self._memory_peers.values()) connections_to_save = self._connections self._connections = {} - await self.db.save_connections(connections_to_save) + # await self.db.save_connections(connections_to_save) heavy call def get_from_peer(self, peer): return self._memory_peers.get((peer.address, peer.udp_port), None)