fix: 量化评分循环补间隔(防重复推送)
This commit is contained in:
+1
-1
@@ -76,7 +76,7 @@ async def collector_task(_app):
|
||||
quant.run_scoring_and_push()
|
||||
except Exception as e:
|
||||
print('[quant-loop]', e, flush=True)
|
||||
time.sleep(SCORING_INTERVAL_S)
|
||||
time.sleep(SCORING_INTERVAL_S) # 每轮之间强制间隔
|
||||
|
||||
threading.Thread(target=_quant_loops, daemon=True, name='quant-scoring').start()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user