You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
See if changing 'server' to 'host' works for you. Don't know why, but when I made this change after seeing a suggestion on stackoverflow, all my connection problems disappeared with seriate. Let me know if that works for you.
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.
The text was updated successfully, but these errors were encountered: