File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -3119,10 +3119,6 @@ def __init__(self):
3119
3119
self .set_taskbar_icon ()
3120
3120
self .setup_system_tray ()
3121
3121
3122
- self .node_check_timer = QTimer (self )
3123
- self .node_check_timer .timeout .connect (self .check_node_status_changes )
3124
- self .node_check_timer .start (100 )
3125
-
3126
3122
self .update_timer = QTimer (self )
3127
3123
self .update_timer .timeout .connect (self .auto_update )
3128
3124
self .update_timer .start (40000 ) # 40秒更新一次
@@ -5231,6 +5227,8 @@ def load_nodes(self):
5231
5227
5232
5228
row , col = 0 , 0
5233
5229
5230
+ self .check_node_status_changes () #节点检测
5231
+
5234
5232
# 首先加载API状态卡片
5235
5233
try :
5236
5234
api_status = self .get_api_status ()
@@ -6688,6 +6686,7 @@ def auto_update(self):
6688
6686
# 更新节点并检查变化
6689
6687
self .load_nodes ()
6690
6688
6689
+
6691
6690
def update_log (self , message ):
6692
6691
"""更新日志显示"""
6693
6692
self .log_display .append (message )
You can’t perform that action at this time.
0 commit comments