!542 更新SnailJob版本到1.0.0-beta2

* feat: 配置项变更,避免误解snail-job.group-name => snail-job.group
* chore: 更新snail-job版本到1.0.0-beta2
This commit is contained in:
dhb52
2024-05-24 05:30:51 +00:00
committed by 疯狂的狮子Li
parent a3f43f8ea3
commit ba1a540add
4 changed files with 6 additions and 5 deletions

View File

@ -21,7 +21,7 @@ import org.springframework.scheduling.annotation.EnableScheduling;
@AutoConfiguration
@ConditionalOnProperty(prefix = "snail-job", name = "enabled", havingValue = "true")
@EnableScheduling
@EnableSnailJob(group = "${snail-job.group-name}")
@EnableSnailJob(group = "${snail-job.group}")
public class SnailJobConfig {
@EventListener(SnailClientStartingEvent.class)