File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/com/statsig/androidsdk Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ private val RETRY_CODES: IntArray = intArrayOf(
35
35
private val MAX_LOG_PERIOD = TimeUnit .DAYS .toMillis(3 )
36
36
private const val MIN_POLLING_INTERVAL_MS : Long = 60000 // 1 minute in milliseconds
37
37
private const val MAX_INITIALIZE_REQUESTS : Int = 10
38
- private const val LOG_EVENT_RETRY : Int = 3
38
+ private const val LOG_EVENT_RETRY : Int = 2
39
39
40
40
private const val INITIALIZE_RETRY_BACKOFF = 100L
41
41
private const val INITIALIZE_RETRY_BACKOFF_MULTIPLIER = 5
@@ -352,8 +352,8 @@ internal class StatsigNetworkImpl(
352
352
return
353
353
}
354
354
if (statusCode?.let { RETRY_CODES .contains(it) } == true ) {
355
- backoff * = 100L
356
355
delay(backoff)
356
+ backoff * = 5L
357
357
} else {
358
358
addFailedLogRequest(bodyString)
359
359
return
You can’t perform that action at this time.
0 commit comments