Skip to content

Commit 2d80ff5

Browse files
Add back forceOwningTab section
1 parent e79af24 commit 2d80ff5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/firestore/src/local/indexeddb_persistence.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,9 @@ const CLIENT_METADATA_REFRESH_INTERVAL_MS = 4000;
106106
/** User-facing error when the primary lease is required but not available. */
107107
const PRIMARY_LEASE_EXCLUSIVE_ERROR_MSG =
108108
'Failed to obtain exclusive access to the persistence layer. To allow ' +
109-
'shared access, multi-tab synchronization has to be enabled in all tabs.';
109+
'shared access, multi-tab synchronization has to be enabled in all tabs. ' +
110+
'If you are using `experimentalForceOwningTab:true`, make sure that only ' +
111+
'one tab has persistence enabled at any given time.';
110112
const UNSUPPORTED_PLATFORM_ERROR_MSG =
111113
'This platform is either missing IndexedDB or is known to have ' +
112114
'an incomplete implementation. Offline persistence has been disabled.';

0 commit comments

Comments
 (0)