fix: 改进与日志简化

This commit is contained in:
2026-05-22 22:33:57 +08:00
parent 31996f2532
commit 0e42d0410c
64 changed files with 2772 additions and 875 deletions
+2 -2
View File
@@ -51,7 +51,7 @@ class NSP0Algorithm(BaseAlgorithm):
)
if feedback == -1:
logger.debug("feedback -1, 跳过更新")
logger.debug("feedback = -1, update skipped")
return
algodata[cls.algo_name]["interval"] = 1 if feedback <= 3 else float("inf")
if not algodata[cls.algo_name]["important"]:
@@ -65,7 +65,7 @@ class NSP0Algorithm(BaseAlgorithm):
algodata[cls.algo_name]["last_modify"] = timer.get_timestamp()
logger.debug(
"更新日期: last_date=%d, next_date=%d, last_modify=%f",
"Update date: last_date=%d, next_date=%d, last_modify=%f",
algodata[cls.algo_name]["last_date"],
algodata[cls.algo_name]["next_date"],
algodata[cls.algo_name]["last_modify"],