Anytime when a query is executed, it never ends up immediately. Instead the query takes a few seconds. Am I missing some promise to be finished? My config is below.
Even without any query, I found function setupSql() always stops in a few seconds.
"dbconfig": {
"server": "SERVER",
"database": "staging_db",
"user": "user",
"password": "pwd"
}
const sql = require('seriate');
function setupSql() {
const dbConfig = runtimeConfig.dbconfig;
sql.setDefaultConfig(dbConfig);
}
Thanks.