From 4cd4e1ffe0b4422984144c633ecf3b60b08414b8 Mon Sep 17 00:00:00 2001 From: fnvtk Date: Mon, 11 May 2026 17:07:28 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=A2=9E=E5=8A=A0=E7=B4=A7=E6=80=A5?= =?UTF-8?q?=E6=8C=87=E4=BB=A4=E7=99=BD=E5=90=8D=E5=8D=95=EF=BC=8C=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E5=87=8C=E6=99=A8=E9=99=90=E6=B5=81=E5=AF=BC=E8=87=B4?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E4=B8=8B=E5=8F=91=E7=8A=B6=E6=80=81=E6=8C=87?= =?UTF-8?q?=E4=BB=A4=E7=9A=84=E9=97=AE=E9=A2=98=20(BUG-001)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sdk/app/services/rate_limiter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/app/services/rate_limiter.py b/sdk/app/services/rate_limiter.py index d1671052fd..00272667f7 100644 --- a/sdk/app/services/rate_limiter.py +++ b/sdk/app/services/rate_limiter.py @@ -175,7 +175,7 @@ class AntiDetectRateLimiter: 返回实际等待的秒数。 若日上限已到,抛 DailyLimitExceeded。 """ - if not self.check_operation_hours(): + if not self.check_operation_hours() and action not in ["status", "heartbeat", "emergency_stop"]: raise OutsideOperationHours( f"当前不在操作时段 ({OPERATION_HOURS[0]}:00-{OPERATION_HOURS[1]}:00)" )