Removes timeout on mysql connection
This commit is contained in:
parent
35dc319a76
commit
904351416f
@ -21,7 +21,7 @@ async function init() {
|
|||||||
const password = PASSWORD_FILE ? fs.readFileSync(PASSWORD_FILE) : PASSWORD;
|
const password = PASSWORD_FILE ? fs.readFileSync(PASSWORD_FILE) : PASSWORD;
|
||||||
const database = DB_FILE ? fs.readFileSync(DB_FILE) : DB;
|
const database = DB_FILE ? fs.readFileSync(DB_FILE) : DB;
|
||||||
|
|
||||||
await waitPort({ host, port : 3306, timeout: 15000 });
|
await waitPort({ host, port : 3306});
|
||||||
|
|
||||||
pool = mysql.createPool({
|
pool = mysql.createPool({
|
||||||
connectionLimit: 5,
|
connectionLimit: 5,
|
||||||
|
Loading…
Reference in New Issue
Block a user