mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-08 22:21:03 +08:00
disable pool for sqlite, re-use a connection to improve the performance.
This commit is contained in:
@@ -811,11 +811,10 @@ async function shutdownFunction(signal) {
|
||||
}
|
||||
await sleep(2000);
|
||||
await Database.close();
|
||||
console.log("Stopped DB")
|
||||
}
|
||||
|
||||
function finalFunction() {
|
||||
console.log("Graceful Shutdown Done")
|
||||
console.log("Graceful shutdown successfully!");
|
||||
}
|
||||
|
||||
gracefulShutdown(server, {
|
||||
|
Reference in New Issue
Block a user