aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firestore/CHANGELOG.md
diff options
context:
space:
mode:
authorGravatar Michael Lehenbauer <mikelehen@gmail.com>2018-03-26 13:24:32 -0700
committerGravatar GitHub <noreply@github.com>2018-03-26 13:24:32 -0700
commite0e6625f3ef573ebcf10ce6b298939ccbea25532 (patch)
tree2ed51208ddd994c3fcd581f7b167f9cfd3b27d74 /Firestore/CHANGELOG.md
parentf77ec68a8862bd03b430deff48022ffb179172b0 (diff)
Fix issue that could cause offline get()s to wait up to 10 seconds. (#978)
Port of https://github.com/firebase/firebase-js-sdk/pull/592 FSTOnlineStateTracker was reverting to OnlineState Unknown on every stream attempt rather than remaining Offline once the offline heuristic had been met (i.e. 2 stream failures or 10 seconds). This means that getDocument() requests made while offline could be delayed up to 10 seconds each time (or until the next backoff attempt failed).
Diffstat (limited to 'Firestore/CHANGELOG.md')
-rw-r--r--Firestore/CHANGELOG.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/Firestore/CHANGELOG.md b/Firestore/CHANGELOG.md
index 50958db..bcd92d0 100644
--- a/Firestore/CHANGELOG.md
+++ b/Firestore/CHANGELOG.md
@@ -1,4 +1,7 @@
# Unreleased
+- [fixed] Fixed a regression in the Firebase iOS SDK release 4.11.0 that could
+ cause getDocument() requests made while offline to be delayed by up to 10
+ seconds (rather than returning from cache immediately).
# v0.10.4
- [changed] If the SDK's attempt to connect to the Cloud Firestore backend