mirror of
https://github.com/strapi/strapi.git
synced 2025-09-25 16:29:34 +00:00
Increase bootstrap timeout
This commit is contained in:
parent
991551e384
commit
bf5e48c653
2
lib/private/bootstrap.js
vendored
2
lib/private/bootstrap.js
vendored
@ -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?');
|
||||
|
Loading…
x
Reference in New Issue
Block a user