From c4814e30efabf87f6415594d727576193f2af482 Mon Sep 17 00:00:00 2001 From: darwintree <17946284+darwintree@users.noreply.github.com> Date: Thu, 14 Nov 2024 17:06:56 +0800 Subject: [PATCH] refactor: remove asyncore --- conflux_debug.py | 1 - single_bench.py | 1 - 2 files changed, 2 deletions(-) diff --git a/conflux_debug.py b/conflux_debug.py index 7b0594e..a0ad501 100755 --- a/conflux_debug.py +++ b/conflux_debug.py @@ -31,7 +31,6 @@ def run_test(self): kwargs['dstport'] = 32323 kwargs['dstaddr'] = '127.0.0.1' default_node.peer_connect(*args, **kwargs) - network_thread_start() default_node.wait_for_status() # Start rpc connection diff --git a/single_bench.py b/single_bench.py index 1007b7a..7dd07bb 100755 --- a/single_bench.py +++ b/single_bench.py @@ -51,7 +51,6 @@ def run_test(self): conn = DefaultNode(genesis) p2p_connections.append(conn) self.node.add_p2p_connection(conn) - network_thread_start() for p2p in p2p_connections: p2p.wait_for_status()