Merge pull request #49 from Terag/master

Removes timeout on mysql connection
This commit is contained in:
Stefan Scherer 2020-06-29 20:51:19 +02:00 committed by GitHub
commit 823b0d4642
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,7 @@ async function init() {
const password = PASSWORD_FILE ? fs.readFileSync(PASSWORD_FILE) : PASSWORD;
const database = DB_FILE ? fs.readFileSync(DB_FILE) : DB;
await waitPort({ host, port : 3306, timeout: 15000 });
await waitPort({ host, port : 3306});
pool = mysql.createPool({
connectionLimit: 5,