diff --git a/jvm-spring-web/build.gradle b/jvm-spring-web/build.gradle index 0450158..ff8f487 100644 --- a/jvm-spring-web/build.gradle +++ b/jvm-spring-web/build.gradle @@ -21,7 +21,6 @@ dependencies { // 2. Add the GrowthBook SDK // Option: head of main // implementation 'com.github.growthbook:growthbook-sdk-java:main-SNAPSHOT' - implementation 'com.github.growthbook:growthbook-sdk-java:sse-SNAPSHOT' // Option: specific release version implementation 'com.github.growthbook:growthbook-sdk-java:0.9.0' diff --git a/jvm-spring-web/src/main/java/com/example/demo/services/RealTimeSSEFeaturesService.java b/jvm-spring-web/src/main/java/com/example/demo/services/RealTimeSSEFeaturesService.java index baf4f3d..3d96c69 100644 --- a/jvm-spring-web/src/main/java/com/example/demo/services/RealTimeSSEFeaturesService.java +++ b/jvm-spring-web/src/main/java/com/example/demo/services/RealTimeSSEFeaturesService.java @@ -16,7 +16,7 @@ public RealTimeSSEFeaturesService() { "sdk-pGmC6LrsiUoEUcpZ", null, FeatureRefreshStrategy.SERVER_SENT_EVENTS, - 10 + null ); this.onFeaturesRefresh(new FeatureRefreshCallback() {