Increase bootstrap timeout

This commit is contained in:
loicsaintroch 2015-10-08 13:55:59 +02:00
parent 991551e384
commit bf5e48c653

View File

@ -19,7 +19,7 @@ module.exports = function runBootstrap(cb) {
// If bootstrap takes too long, display warning message
// (just in case user forgot to call their bootstrap's `cb`).
const timeoutMs = self.config.bootstrapTimeout || 2000;
const timeoutMs = self.config.bootstrapTimeout || 3500;
const timer = setTimeout(function bootstrapTookTooLong() {
self.log.warn('Bootstrap is taking unusually long to execute its callback (' + timeoutMs + ' miliseconds).');
self.log.warn('Perhaps you forgot to call it?');