Skip to content

Commit

Permalink
Default session multiplexing to being disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
kraenhansen committed May 22, 2023
1 parent f46c17a commit 614f4bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
* Upgraded React Native from 0.71.4 to 0.71.7. ([#5761](https://github.com/realm/realm-js/pull/5761))
* Upgraded Realm Core from v13.10.1 to v13.11.0. ([#5811](https://github.com/realm/realm-js/issues/5811))
* Bump sync protocol to v9 to indicate client has fix for client reset error during async open. ([realm/realm-core#6609](https://github.com/realm/realm-core/issues/6609))
* Sync session multiplexing is enabled by default, and calling `Realm.Sync.Session#enableSessionMultiplexing()` is a no-op.
* Disabling sync session multiplexing by default in the SDK, since Core's default changed to enabled with v13.11.0. ([#5831](https://github.com/realm/realm-js/pull/5831))

## 12.0.0-alpha.2 (2023-04-05)

Expand Down
2 changes: 2 additions & 0 deletions packages/realm/src/app-services/App.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,8 @@ export class App<FunctionsFactoryType = DefaultFunctionsFactory, CustomDataType
baseFilePath: fs.getDefaultDirectoryPath(),
metadataMode: binding.MetadataMode.NoEncryption,
userAgentBindingInfo: App.userAgent,
// Default session multiplexing to being disabled.
multiplexSessions: false,
},
);
}
Expand Down

0 comments on commit 614f4bc

Please sign in to comment.