senecajs/seneca

why there is Hard limit on timeout

rsharma-prismhr opened this issue · 1 comments

timeout: 22222,

Why there is a hard limit of 22 seconds here?

Can this be increased or configured?

Hi @rsharma-prismhr, if you want to configure the timeout in Seneca, try passing the timeout option to the Seneca constructor:

const seneca = Seneca({ timeout: 10e3 })

For reference:

Seneca({ timeout: 100, legacy: { transport: false } })