From 42a39120c3d16d2cb72ed7e87283e82d65c9b4db Mon Sep 17 00:00:00 2001 From: yhjun1026 <460342015@qq.com> Date: Wed, 14 Jun 2023 21:56:38 +0800 Subject: [PATCH] async auto load plugin --- pilot/common/plugins.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/pilot/common/plugins.py b/pilot/common/plugins.py index 501153bb4..832144d22 100644 --- a/pilot/common/plugins.py +++ b/pilot/common/plugins.py @@ -106,9 +106,7 @@ def load_native_plugins(cfg: Config): except Exception as e: print("load plugin from git exception!" + str(e)) - # 创建一个线程 t = threading.Thread(target=load_from_git, args=(cfg,)) - # 启动线程 t.start()