!548 feat: 升级SnailJob 1.0.0-beta3

Merge pull request !548 from dhb52/dev
This commit is contained in:
疯狂的狮子Li
2024-06-03 14:46:21 +00:00
committed by Gitee
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
public class SnailJobConfig {
@EventListener(SnailClientStartingEvent.class)