We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95e3c18 commit 00a5953Copy full SHA for 00a5953
1 file changed
src/main/java/eu/openanalytics/containerproxy/backend/dispatcher/proxysharing/ProxySharingScaler.java
@@ -64,6 +64,7 @@
64
import org.slf4j.LoggerFactory;
65
import org.springframework.beans.factory.annotation.Autowired;
66
import org.springframework.context.ApplicationEventPublisher;
67
+import org.springframework.context.annotation.Lazy;
68
import org.springframework.context.event.EventListener;
69
import org.springframework.core.env.Environment;
70
import org.springframework.integration.leader.event.OnGrantedEvent;
@@ -104,6 +105,7 @@ public class ProxySharingScaler implements AutoCloseable {
104
105
private Instant lastScaleUp = null;
106
107
@Inject
108
+ @Lazy
109
private IProxyTestStrategy testStrategy;
110
111
private IContainerBackend containerBackend;
0 commit comments