mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-07-23 23:11:13 -04:00
add auto vacuum and shrink database button
This commit is contained in:
parent
39ad8b4bb7
commit
a9e319517a
4 changed files with 91 additions and 1 deletions
|
@ -119,6 +119,7 @@ module.exports.io = io;
|
|||
// Must be after io instantiation
|
||||
const { sendNotificationList, sendHeartbeatList, sendImportantHeartbeatList, sendInfo } = require("./client");
|
||||
const { statusPageSocketHandler } = require("./socket-handlers/status-page-socket-handler");
|
||||
const databaseSocketHandler = require("./socket-handlers/database-socket-handler");
|
||||
|
||||
app.use(express.json());
|
||||
|
||||
|
@ -1295,6 +1296,7 @@ exports.entryPage = "dashboard";
|
|||
|
||||
// Status Page Socket Handler for admin only
|
||||
statusPageSocketHandler(socket);
|
||||
databaseSocketHandler(socket);
|
||||
|
||||
debug("added all socket handlers");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue