From a742c68ff684279dd4aea89a923e3e806b850ec2 Mon Sep 17 00:00:00 2001 From: Elivo Date: Wed, 16 Jul 2025 17:30:19 +0800 Subject: [PATCH] =?UTF-8?q?Cron=EF=BC=8C=E4=BF=AE=E6=AD=A3=E9=87=8D?= =?UTF-8?q?=E8=BD=BD=E5=86=B2=E7=AA=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Apewer/CronAttribute.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Apewer/CronAttribute.cs b/Apewer/CronAttribute.cs index d005106..fcd9581 100644 --- a/Apewer/CronAttribute.cs +++ b/Apewer/CronAttribute.cs @@ -296,7 +296,7 @@ namespace Apewer /// 打断 Cron 循环并等待 Cron 执行结束。等待指定的时间后打断正在执行的 Cron。 /// 强制打断前的等待毫秒数,指定为负数时将无限等待。 - public static void Break(int timeout = 20000) + public static void Break(int timeout) { _break = true;