fix:分布式 默认
This commit is contained in:
@@ -28,7 +28,7 @@ public @interface XxzJob {
|
||||
// */
|
||||
// String cron();
|
||||
|
||||
boolean enabled() default true;
|
||||
// boolean enabled() default true;
|
||||
/**
|
||||
* 是否支持多机分布式运行
|
||||
* 若为false:每台机器都会执行一次
|
||||
@@ -36,5 +36,5 @@ public @interface XxzJob {
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
boolean distributed() default true;
|
||||
boolean distributed() default false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user