Merge pull request #193 from RuoJi6/RuoJi6/fix/issue-186-intercept-polling-count

fix(intercept): avoid full-history polling and full-table counts (#186)
This commit is contained in:
ji ruo committed 2026-11-27 15:55:28 +08:00
commit 10be95ac44
14 files changed
+676 -159

No files matched your search

+1
View File
@@ -1152,6 +1152,7 @@ func (s *Server) Handler() http.Handler {
mux.HandleFunc("POST /api/asset-intercept/rules/{id}/toggle", s.assetInterceptToggleRule)
mux.HandleFunc("GET /api/intercept/pending", s.interceptListPending)
mux.HandleFunc("GET /api/intercept/pending/summary", s.interceptPendingSummary)
mux.HandleFunc("GET /api/intercept/pending/{id}", s.interceptGetOne)
mux.HandleFunc("POST /api/intercept/pending/{id}/decide", s.interceptDecide)
mux.HandleFunc("GET /api/intercept/history", s.interceptHistory)