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:
Stefan Ceriu
2025-04-08 10:18:10 +03:00
committed by Stefan Ceriu
parent 3549dd560b
commit 0ba083f513

View File

@@ -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)