diff --git a/src/plugins/hooks.js b/src/plugins/hooks.js index 58f8c85f96..68d0ee2768 100644 --- a/src/plugins/hooks.js +++ b/src/plugins/hooks.js @@ -233,7 +233,7 @@ async function fireStaticHook(hook, hookList, params) { try { // eslint-disable-next-line - await timeout(hookFn(params), 5000, 'timeout'); + await timeout(hookFn(params), 10000, 'timeout'); } catch (err) { if (err && err.message === 'timeout') { winston.warn(`[plugins] Callback timed out, hook '${hook}' in plugin '${hookObj.id}'`);