Gulp fixes
This commit is contained in:
parent
4d0495fce7
commit
5dfb6bc22f
|
@ -410,7 +410,7 @@ function dockerWait() {
|
|||
|
||||
let interval = 100;
|
||||
let elapsedTime = 0;
|
||||
let maxInterval = 5 * 60 * 1000;
|
||||
let maxInterval = 4 * 60 * 1000;
|
||||
|
||||
let myConf = {
|
||||
user: dbConf.username,
|
||||
|
@ -446,7 +446,7 @@ function dockerWait() {
|
|||
}
|
||||
|
||||
if (elapsedTime >= maxInterval)
|
||||
reject(new Error(`MySQL not initialized whithin ${elapsedTime} secs`));
|
||||
reject(new Error(`MySQL not initialized whithin ${elapsedTime / 1000} secs`));
|
||||
else
|
||||
setTimeout(checker, interval);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue