mirror of
https://github.com/vrcx-team/VRCX.git
synced 2026-04-06 00:32:02 +02:00
database.optimize().catch(console.error)
This commit is contained in:
@@ -138,7 +138,7 @@ export const useUpdateLoopStore = defineStore('UpdateLoop', () => {
|
||||
}
|
||||
if (--state.nextDatabaseOptimize <= 0) {
|
||||
state.nextDatabaseOptimize = 86400; // 1 day
|
||||
database.optimize();
|
||||
database.optimize().catch(console.error);
|
||||
}
|
||||
}
|
||||
} catch (err) {
|
||||
|
||||
Reference in New Issue
Block a user