mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-20 22:25:51 +08:00
[Eliminate Blocking] Database related (#5926)
This commit is contained in:
@@ -14,7 +14,7 @@ module.exports.databaseSocketHandler = (socket) => {
|
||||
checkLogin(socket);
|
||||
callback({
|
||||
ok: true,
|
||||
size: Database.getSize(),
|
||||
size: await Database.getSize(),
|
||||
});
|
||||
} catch (error) {
|
||||
callback({
|
||||
|
Reference in New Issue
Block a user