Skip to content

Commit

Permalink
Merge pull request #56 from MindustryVN/dev
Browse files Browse the repository at this point in the history
Enable scheduling support in the configuration class
  • Loading branch information
sharrlotte authored Feb 1, 2025
2 parents 958be09 + da5075f commit e4a4afd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/mindustrytool/servermanager/config/Config.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.http.codec.ServerCodecConfigurer;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.web.reactive.config.WebFluxConfigurer;

import com.fasterxml.jackson.annotation.JsonInclude;
Expand All @@ -20,6 +21,7 @@
import jakarta.annotation.PostConstruct;

@Configuration
@EnableScheduling
public class Config implements WebFluxConfigurer {

public static final String ENV = System.getenv("ENV");
Expand Down

0 comments on commit e4a4afd

Please sign in to comment.