mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-10-31 16:24:11 +00:00
Set the NSE client as memory constrained. This, following the roomLoadSettings tweaks, changes SQLite store settings and further decreases memory consumption.
This commit is contained in:
committed by
Stefan Ceriu
parent
c9dc7e63c5
commit
eef212eaf3
@@ -39,6 +39,7 @@ final class NSEUserSession {
|
||||
sessionDelegate: clientSessionDelegate,
|
||||
appHooks: appHooks,
|
||||
enableOnlySignedDeviceIsolationMode: appSettings.enableOnlySignedDeviceIsolationMode)
|
||||
.systemIsMemoryConstrained()
|
||||
.sessionPaths(dataPath: credentials.restorationToken.sessionDirectories.dataPath,
|
||||
cachePath: credentials.restorationToken.sessionDirectories.cachePath)
|
||||
.username(username: credentials.userID)
|
||||
|
||||
Reference in New Issue
Block a user