mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-09 23:24:07 -08:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
6eceb4c744
|
@ -107,6 +107,7 @@ class Database {
|
||||||
R.freeze(true);
|
R.freeze(true);
|
||||||
await R.autoloadModels("./server/model");
|
await R.autoloadModels("./server/model");
|
||||||
|
|
||||||
|
await R.exec("PRAGMA foreign_keys = ON");
|
||||||
// Change to WAL
|
// Change to WAL
|
||||||
await R.exec("PRAGMA journal_mode = WAL");
|
await R.exec("PRAGMA journal_mode = WAL");
|
||||||
await R.exec("PRAGMA cache_size = -12000");
|
await R.exec("PRAGMA cache_size = -12000");
|
||||||
|
|
|
@ -638,6 +638,8 @@ exports.entryPage = "dashboard";
|
||||||
});
|
});
|
||||||
|
|
||||||
await sendMonitorList(socket);
|
await sendMonitorList(socket);
|
||||||
|
// Clear heartbeat list on client
|
||||||
|
await sendImportantHeartbeatList(socket, monitorID, true, true);
|
||||||
|
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
callback({
|
callback({
|
||||||
|
|
Loading…
Reference in a new issue