mirror of
				https://github.com/louislam/uptime-kuma.git
				synced 2025-10-31 19:39:20 +08:00 
			
		
		
		
	added finally to close connection pool
This commit is contained in:
		| @@ -223,6 +223,8 @@ exports.mssqlQuery = function (connectionString, query) { | ||||
|             resolve(result); | ||||
|         }).catch(err => { | ||||
|             reject(err); | ||||
|         }).finally(() => { | ||||
|             mssql.close(); | ||||
|         }); | ||||
|     }); | ||||
| }; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user