-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Description
On server startup, the server load becomes high and so loading plugins becomes slow. Sometimes the timeout is exceeded and it terminates the service. Let's increase the timeout to 5 minutes.
/usr/src/app/node_modules/avvio/lib/plugin.js:114
const readyTimeoutErr = new AVV_ERR_PLUGIN_EXEC_TIMEOUT(name)
^
FastifyError [Error]: Plugin did not start in time: 'autoload'. You may have forgotten to call 'done' function or to resolve a Promise
at Timeout._onTimeout (/usr/src/app/node_modules/avvio/lib/plugin.js:114:31)
at listOnTimeout (node:internal/timers:581:17)
at process.processTimers (node:internal/timers:519:7) {
code: 'AVV_ERR_PLUGIN_EXEC_TIMEOUT',
statusCode: 500,
fn: <ref *1> [AsyncFunction: autoload] {
fastifyAutoload: [Circular *1],
default: [Circular *1],
[Symbol(skip-override)]: true
}
}
polyipseity
Metadata
Metadata
Assignees
Labels
No labels