From c6b46e7bdf46767f84c336a6d1220d7f5ef0ab57 Mon Sep 17 00:00:00 2001 From: Todd Anderson Date: Fri, 10 May 2024 15:59:53 -0500 Subject: [PATCH] feat: improved streaming behavior by decreasing maximum retry interval --- .../java/com/launchdarkly/sdk/android/StreamingDataSource.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/launchdarkly-android-client-sdk/src/main/java/com/launchdarkly/sdk/android/StreamingDataSource.java b/launchdarkly-android-client-sdk/src/main/java/com/launchdarkly/sdk/android/StreamingDataSource.java index 972a1282..fd19005f 100644 --- a/launchdarkly-android-client-sdk/src/main/java/com/launchdarkly/sdk/android/StreamingDataSource.java +++ b/launchdarkly-android-client-sdk/src/main/java/com/launchdarkly/sdk/android/StreamingDataSource.java @@ -44,7 +44,7 @@ final class StreamingDataSource implements DataSource { private static final String PATCH = "patch"; private static final String DELETE = "delete"; - private static final long MAX_RECONNECT_TIME_MS = 3_600_000; // 1 hour + private static final long MAX_RECONNECT_TIME_MS = 300_000; // 5 minutes private static final long READ_TIMEOUT_MS = 300_000; // 5 minutes is the standard read timeout used for all LaunchDarkly stream connections, based on