summaryrefslogtreecommitdiff
path: root/script/sched.py
diff options
context:
space:
mode:
authorhandingkang <[email protected]>2024-01-19 17:50:57 +0800
committerhandingkang <[email protected]>2024-01-19 17:50:57 +0800
commitc423b3072b19c34a7f777cfa7e019baac6c3d7f1 (patch)
tree60fb4edd5df29a4cb835211ce6c2d0b0ac8b5250 /script/sched.py
parent54a5df53fb0c69c3a812234702335451c356c369 (diff)
增加fx接口集HEADmain
Diffstat (limited to 'script/sched.py')
-rw-r--r--script/sched.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/script/sched.py b/script/sched.py
index 44b3622..60eaf5b 100644
--- a/script/sched.py
+++ b/script/sched.py
@@ -174,6 +174,9 @@ def refresh_neo4j():
except Exception as e:
log.error(e)
+ # 获取高危节点及其邻居节点信息
+ DANGER_noderesult = to_dataframe(db.cypher_query(dangerous_nodes, retry_on_session_expire=True))
+
log.info("完成数据一轮刷新,下一次刷新开始于: " + str(int(idle_seconds())) + "秒后")