Skip to content

Commit

Permalink
Disable multiplexing for now, due to: realm/realm-core#6656
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsenko committed May 24, 2023
1 parent 3e6e979 commit 935d181
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/src/native/realm_core.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1706,6 +1706,10 @@ class _RealmCore {
return using((arena) {
final handle = SyncClientConfigHandle._(_realmLib.realm_sync_client_config_new());

// TODO: Remove later
// Disable multiplexing for now due to: https://github.com/realm/realm-core/issues/6656
_realmLib.realm_sync_client_config_set_multiplex_sessions(handle._pointer, false);
// <-- end
_realmLib.realm_sync_client_config_set_base_file_path(handle._pointer, configuration.baseFilePath.path.toCharPtr(arena));
_realmLib.realm_sync_client_config_set_metadata_mode(handle._pointer, configuration.metadataPersistenceMode.index);
_realmLib.realm_sync_client_config_set_connect_timeout(handle._pointer, configuration.maxConnectionTimeout.inMilliseconds);
Expand Down

0 comments on commit 935d181

Please sign in to comment.