Load local MariaDB settings from env
This commit is contained in:
@@ -57,7 +57,7 @@ export async function executeMariaDbWrite(config, sql) {
|
||||
}
|
||||
}
|
||||
|
||||
async function getPool(config) {
|
||||
function getPool(config) {
|
||||
if (!pool) {
|
||||
pool = mariadb.createPool({
|
||||
host: config.database.host,
|
||||
|
||||
Reference in New Issue
Block a user