fix:分布式 默认

This commit is contained in:
xiang
2026-01-09 22:41:17 +08:00
parent afa610ecaa
commit 73dcafa3c4

View File

@@ -28,7 +28,7 @@ public @interface XxzJob {
// */ // */
// String cron(); // String cron();
boolean enabled() default true; // boolean enabled() default true;
/** /**
* 是否支持多机分布式运行 * 是否支持多机分布式运行
* 若为false每台机器都会执行一次 * 若为false每台机器都会执行一次
@@ -36,5 +36,5 @@ public @interface XxzJob {
* *
* @return * @return
*/ */
boolean distributed() default true; boolean distributed() default false;
} }