From c69534e09bf25991dd0c26df64d2b934290cc26c Mon Sep 17 00:00:00 2001 From: Autumn-27 <53844290+Autumn-27@users.noreply.github.com> Date: Tue, 18 Aug 2026 11:31:42 -0400 Subject: [PATCH] =?UTF-8?q?tweak:=20=E5=BC=95=E6=93=8E=E5=81=9C=E6=BB=9E?= =?UTF-8?q?=E5=88=A4=E5=AE=9A=E9=98=88=E5=80=BC=2060s=20=E2=86=92=20120s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit stalled 判据(在跑、无在执行意图、planner/worker 静默)的静默时长从 60 秒放宽到 120 秒。 --- server/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/server.go b/server/server.go index 2fff186..fe901cf 100644 --- a/server/server.go +++ b/server/server.go @@ -802,7 +802,7 @@ func (s *Server) stats(w http.ResponseWriter, r *http.Request) { paused := s.engine.IsPaused(t.ID) running := s.engine.Ready() && s.engine.Started(t.ID) && !paused // stalled: running but no activity for a while and nothing in flight. - stalled := running && inFlight == 0 && last > 0 && time.Now().Unix()-last > 60 + stalled := running && inFlight == 0 && last > 0 && time.Now().Unix()-last > 120 // engine_mode follows the spec enum (exploring|paused|stalled|idle). switch {