n8n/packages/cli/commands
Omar Ajoue 0c779de704
Implement timeout for workers and corrected timeout for subworkflows (#1634)
* Implemented timeout for workers and corrected timeout for subworkflows

* Fixed issue with timeouts when running on separate processes

* Standardized timeouts across all n8n

Now the maxTimeout setting takes effect whenever a timeout is set
to any workflows.

This causes local timeouts (either set on a per-workflow basis or
via global settings) to be capped by the maximum timeout. This
behavior already existed but was not applied to all places.

Also changed the way n8n enforces timeouts for subworkflows, making
it work always.

In effect, with this change, if you have one workflow that calls others
only the main workflow's timeout is taken into consideration, limiting
the maximum time that other workflows combined can run.

*  Fix timeout problem in "own" mode

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-04-17 16:44:07 +02:00
..
export Some cleanup 2021-03-25 11:23:54 +01:00
import 🐛 Fix issue with importing decrypted separate credentials #1546 2021-03-17 21:28:22 +01:00
update Some cleanup 2021-03-25 11:23:54 +01:00
execute.ts Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
start.ts Some cleanup 2021-03-25 11:23:54 +01:00
webhook.ts Some cleanup 2021-03-25 11:23:54 +01:00
worker.ts Implement timeout for workers and corrected timeout for subworkflows (#1634) 2021-04-17 16:44:07 +02:00