@@ -28,6 +28,12 @@ public class DevCycleLocalOptions implements IDevCycleOptions {
2828
2929 private boolean disableAutomaticEventLogging = false ;
3030
31+ private boolean disableRealtimeUpdates = false ;
32+
33+ /**
34+ * @deprecated real time updates are enabled by default now
35+ */
36+ @ Deprecated
3137 private boolean enableBetaRealtimeUpdates = false ;
3238
3339 @ JsonIgnore
@@ -52,7 +58,9 @@ public DevCycleLocalOptions(
5258 boolean disableCustomEventLogging ,
5359 IDevCycleLogger customLogger ,
5460 IRestOptions restOptions ,
55- boolean enableBetaRealtimeUpdates
61+ @ Deprecated
62+ boolean enableBetaRealtimeUpdates ,
63+ boolean disableRealtimeUpdates
5664 ) {
5765 this .configRequestTimeoutMs = configRequestTimeoutMs > 0 ? configRequestTimeoutMs : this .configRequestTimeoutMs ;
5866 this .configPollingIntervalMS = getConfigPollingIntervalMS (configPollingIntervalMs , configPollingIntervalMS );
@@ -67,6 +75,7 @@ public DevCycleLocalOptions(
6775 this .customLogger = customLogger ;
6876 this .restOptions = restOptions ;
6977 this .enableBetaRealtimeUpdates = enableBetaRealtimeUpdates ;
78+ this .disableRealtimeUpdates = disableRealtimeUpdates ;
7079
7180 if (this .flushEventQueueSize >= this .maxEventQueueSize ) {
7281 DevCycleLogger .warning ("flushEventQueueSize: " + this .flushEventQueueSize + " must be smaller than maxEventQueueSize: " + this .maxEventQueueSize );
0 commit comments