feat: 自定义数据源扩展 + 限频集中化 (v0.1.80)

This commit is contained in:
shy3130
2026-07-05 22:57:46 +08:00
parent e524ea4893
commit fa08981851
38 changed files with 2819 additions and 123 deletions
+1 -3
View File
@@ -479,9 +479,7 @@ def trigger_ladder(request: Request):
"conditions": ev["conditions"], "logic": ev["logic"],
} for ev in rule_events]
try:
with quote_svc._lock:
quote_svc._pending_alerts.extend(sse_alerts)
quote_svc._alert_event.set()
quote_svc.push_alerts(sse_alerts)
except Exception: # noqa: BLE001
pass