n8n/packages/core
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
..
src Implement timeout for workers and corrected timeout for subworkflows (#1634) 2021-04-17 16:44:07 +02:00
test Replace some fallback values to match the value type (#1421) 2021-03-08 18:45:35 +01:00
LICENSE.md 📚 License text fix 2020-09-15 07:55:09 +02:00
package.json ⬆️ Update types/node package in all packages (#1659) 2021-04-15 23:57:20 +02:00
README.md Fix logos in README.md files 2020-07-13 14:22:34 +02:00
tsconfig.json Make tsconfig.json files "fully" valid JSON files 2019-08-13 19:42:03 +02:00
tslint.json 👕 Fix lint issue 2020-10-22 15:46:03 +02:00

n8n-core

n8n.io - Workflow Automation

Core components for n8n

npm install n8n-core

License

Apache 2.0 with Commons Clause

Additional information about license can be found in the FAQ