Skip to content

Commit 4cc707c

Browse files
committed
update docs for experimentalAutoDetectLongPolling to mention the date and version when its default value was changed to true
1 parent e12e7f5 commit 4cc707c

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

packages/firestore/src/api/settings.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,11 @@ export interface FirestoreSettings extends LiteSettings {
9090
* `experimentalForceLongPolling`, but only uses long-polling if required.
9191
*
9292
* After having had a default value of `false` since its inception in 2019,
93-
* the default value of this setting was changed in mid-2023 to `true`. That
94-
* is, auto-detection of long polling is now enabled by default. To disable
95-
* it, set this setting to `false`, and please open a GitHub issue to share
96-
* the problems that motivated you disabling long-polling auto-detection.
93+
* the default value of this setting was changed in May 2023 to `true` in
94+
* v9.22.0 of the Firebase JavaScript SDK. That is, auto-detection of long
95+
* polling is now enabled by default. To disable it, set this setting to
96+
* `false`, and please open a GitHub issue to share the problems that
97+
* motivated you disabling long-polling auto-detection.
9798
*/
9899
experimentalAutoDetectLongPolling?: boolean;
99100

0 commit comments

Comments
 (0)