mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-26 18:23:47 +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) {
|
if (--state.nextDatabaseOptimize <= 0) {
|
||||||
state.nextDatabaseOptimize = 86400; // 1 day
|
state.nextDatabaseOptimize = 86400; // 1 day
|
||||||
database.optimize();
|
database.optimize().catch(console.error);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
|||||||
Reference in New Issue
Block a user