Fix consideration of persistence backup frequency to be minutes, not seconds

[CL 27272864 by marc audy in ue5-main branch]
This commit is contained in:
marc audy
2023-08-22 11:49:52 -04:00
parent 2ce26c1784
commit 294683af69

View File

@@ -457,7 +457,7 @@ export class Settings {
}
})
}
else if ((Date.now() - this.lastPersistBackupTime.getTime()) / 1000 >= args.persistenceBackupFrequency) {
else if ((Date.now() - this.lastPersistBackupTime.getTime()) / 60000 >= args.persistenceBackupFrequency) {
this.lastPersistBackupTime = new Date(Date.now())
this.p4.sync(this.p4workspace, persistentFile, {opts: ['-k']})