mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-27 08:44:04 +00:00
Fix: migrate state
This commit is contained in:
parent
5731c596e1
commit
a07255e153
1 changed files with 2 additions and 2 deletions
|
@ -775,8 +775,6 @@ class Database {
|
||||||
await migrationServer.start(port, hostname);
|
await migrationServer.start(port, hostname);
|
||||||
}
|
}
|
||||||
|
|
||||||
await Settings.set("migrateAggregateTableState", "migrating");
|
|
||||||
|
|
||||||
log.info("db", "Migrating Aggregate Table");
|
log.info("db", "Migrating Aggregate Table");
|
||||||
|
|
||||||
log.info("db", "Getting list of unique monitors");
|
log.info("db", "Getting list of unique monitors");
|
||||||
|
@ -799,6 +797,8 @@ class Database {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
await Settings.set("migrateAggregateTableState", "migrating");
|
||||||
|
|
||||||
let progressPercent = 0;
|
let progressPercent = 0;
|
||||||
let part = 100 / monitors.length;
|
let part = 100 / monitors.length;
|
||||||
let i = 1;
|
let i = 1;
|
||||||
|
|
Loading…
Reference in a new issue