|
|
@@ -20,7 +20,7 @@ import java.util.concurrent.TimeUnit;
|
|
|
*/
|
|
|
@Slf4j
|
|
|
@Configuration
|
|
|
-@ConditionalOnProperty(name = "spring.redis.listener.enabled", havingValue = "true", matchIfMissing = false)
|
|
|
+@ConditionalOnProperty(name = "spring.redis.listener.enabled", havingValue = "true", matchIfMissing = true)
|
|
|
public class ScheduleJobRedisConfig {
|
|
|
|
|
|
@Bean
|