File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
firebase-config/src/main/java/com/google/firebase/remoteconfig/internal Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 16
16
17
17
import static com .google .firebase .remoteconfig .FirebaseRemoteConfig .TAG ;
18
18
import static com .google .firebase .remoteconfig .RemoteConfigConstants .REALTIME_REGEX_URL ;
19
+ import static com .google .firebase .remoteconfig .internal .ConfigFetchHandler .HTTP_TOO_MANY_REQUESTS ;
19
20
20
21
import android .annotation .SuppressLint ;
21
22
import android .content .Context ;
@@ -309,6 +310,7 @@ public void onError(Exception error) {
309
310
// HTTP status code that the Realtime client should retry on.
310
311
private boolean isStatusCodeRetryable (int statusCode ) {
311
312
return statusCode == HttpURLConnection .HTTP_CLIENT_TIMEOUT
313
+ || statusCode == HTTP_TOO_MANY_REQUESTS
312
314
|| statusCode == HttpURLConnection .HTTP_BAD_GATEWAY
313
315
|| statusCode == HttpURLConnection .HTTP_UNAVAILABLE
314
316
|| statusCode == HttpURLConnection .HTTP_GATEWAY_TIMEOUT
You can’t perform that action at this time.
0 commit comments