Core: Auto-suspend documents more aggressively by default

This is basically just needed to keep clangd's memory consumption under
control, but as we don't expect it to cause any harm elsewhere, we do it
on this general level, rather than introducing an additional document
management layer.

Task-number: QTCREATORBUG-26673
Change-Id: Ib4e8d191022db269546f0a9822702a2a1cb97419
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Christian Kandeler
2022-05-24 16:35:48 +02:00
parent a043b1676f
commit 509600da99

View File

@@ -292,7 +292,7 @@ private:
int autoSaveInterval = 5;
bool autoSuspendEnabled = true;
int autoSuspendMinDocumentCount = 30;
int autoSuspendMinDocumentCount = 10;
bool autoSaveAfterRefactoring = true;
bool warnBeforeOpeningBigFilesEnabled = true;