|
@@ -13,6 +13,7 @@ import org.springframework.cache.annotation.EnableCaching;
|
|
import org.springframework.context.annotation.Profile;
|
|
import org.springframework.context.annotation.Profile;
|
|
import org.springframework.context.event.EventListener;
|
|
import org.springframework.context.event.EventListener;
|
|
import org.springframework.stereotype.Component;
|
|
import org.springframework.stereotype.Component;
|
|
|
|
+import reactor.tools.agent.ReactorDebugAgent;
|
|
|
|
|
|
import javax.annotation.PostConstruct;
|
|
import javax.annotation.PostConstruct;
|
|
|
|
|
|
@@ -27,6 +28,9 @@ import javax.annotation.PostConstruct;
|
|
public class JetLinksApplication {
|
|
public class JetLinksApplication {
|
|
|
|
|
|
public static void main(String[] args) {
|
|
public static void main(String[] args) {
|
|
|
|
+ if (!Boolean.getBoolean("reactor.debug.agent.disabled")) {
|
|
|
|
+ ReactorDebugAgent.init();
|
|
|
|
+ }
|
|
SpringApplication.run(JetLinksApplication.class, args);
|
|
SpringApplication.run(JetLinksApplication.class, args);
|
|
}
|
|
}
|
|
|
|
|