You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace the raw 'new Thread' creation with
CompletableFuture.runAsync() to align with modern
Java concurrency practices.
Consolidate field injection and ServletContextAware
into a single constructor. Add the volatile keyword
to the 'running' flag to ensure thread visibility
across the container. Inject ApplicationEventPublisher
instead of the full ApplicationContext to improve
interface segregation.
Fixesgh-4570
Signed-off-by: Ali Ihsan TASDELEN <atasdelen@infodif.com>
Signed-off-by: Ali Ihsan TASDELEN <alihsan.tsdln@gmail.com>
Copy file name to clipboardExpand all lines: spring-cloud-netflix-eureka-server/src/main/java/org/springframework/cloud/netflix/eureka/server/EurekaServerInitializerConfiguration.java
0 commit comments