firebase-android-sdk
firebase-android-sdk copied to clipboard
Realtime RC - Check HTTP status before listening and retrying
-
Check http response status code before retrying. Http status codes being used to retry are: Ok 200 Client Timeout 408 Bad Gateway 502 Unavailable 503 Gateway timeout 504 Similar to what Fetch uses to throttle requests: firebase-android-sdk/firebase-config/src/main/java/com/google/firebase/remoteconfig/internal/ConfigFetchHandler.java
-
Close error stream
Coverage Report 1
Affected Products
firebase-configOverall coverage changed from 77.45% (5bba4bc) to 80.00% (504b9db) by +2.55%.
Filename Base (5bba4bc) Merge (504b9db) Diff ConfigAutoFetch.java 89.13% 88.64% -0.49% ConfigRealtimeHttpClient.java 0.00% 31.58% +31.58%
Test Logs
Unit Test Results
1 226 tests +4 1 226 :heavy_check_mark: +4 2m 11s :stopwatch: -28s 62 suites ±0 0 :zzz: ±0 62 files ±0 0 :x: ±0
Results for commit 0c96b009. ± Comparison against base commit 5bba4bcd.
:recycle: This comment has been updated with latest results.
Size Report 1
Affected Products
firebase-configType Base (5bba4bc) Merge (504b9db) Diff aar 83.1 kB 83.4 kB +262 B (+0.3%) apk (aggressive) 119 kB 119 kB +124 B (+0.1%) apk (release) 743 kB 743 kB +20 B (+0.0%)