feat: 升级SnailJob 1.0.0-beta3

This commit is contained in:
dhb52
2024-06-03 14:30:20 +08:00
parent f2e0ffb2b2
commit 2c1769575c
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)