n8n/packages/workflow/src
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
..
Expression.ts Add variable $mode 2021-01-29 09:31:40 +01:00
index.ts Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
Interfaces.ts Implement timeout for workers and corrected timeout for subworkflows (#1634) 2021-04-17 16:44:07 +02:00
NodeErrors.ts Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
NodeHelpers.ts Dynamic webhooks improvements (#1396) 2021-02-09 09:14:40 +01:00
ObservableObject.ts 🐛 Fix bug with null in ObservableObject 2020-12-28 19:18:16 +01:00
Workflow.ts Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
WorkflowDataProxy.ts Add variable $mode 2021-01-29 09:31:40 +01:00
WorkflowErrors.ts Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
WorkflowHooks.ts Catch workflowExecuteAfter hook (#1189) 2020-11-19 10:14:43 +01:00