Don't serialize apps for the host backup

This takes a ton of time on macOS and most of the data is just a local cache anyway
This commit is contained in:
Cameron Gutman 2023-10-01 16:13:22 -05:00
commit d2dc0aa1b1
3 changed files with 4 additions and 4 deletions

View file

@ -273,7 +273,7 @@ void DelayedFlushThread::run() {
int i = 0;
for (const NvComputer* computer : m_ComputerManager->m_KnownHosts) {
settings.setArrayIndex(i++);
computer->serialize(settings);
computer->serialize(settings, false);
}
}
settings.endArray();
@ -286,7 +286,7 @@ void DelayedFlushThread::run() {
int i = 0;
for (const NvComputer* computer : m_ComputerManager->m_KnownHosts) {
settings.setArrayIndex(i++);
computer->serialize(settings);
computer->serialize(settings, true);
}
}
settings.endArray();