Move where wal is set

This commit is contained in:
Natsumi
2024-10-30 14:22:24 +13:00
parent 64947e57cb
commit 01a35fa007
3 changed files with 1 additions and 6 deletions

View File

@@ -2620,10 +2620,6 @@ class Database {
await sqliteService.executeNonQuery('VACUUM');
}
async setWal() {
await sqliteService.executeNonQuery('PRAGMA journal_mode=WAL');
}
async getInstanceJoinHistory() {
var oneWeekAgo = new Date(Date.now() - 604800000).toJSON();
var instances = new Map();