n8n/packages/cli/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
..
databases 🐛 Fix performance and crashes with latest updates (#1524) 2021-03-10 10:50:07 +01:00
ActiveExecutions.ts Unify execution id + Queue system (#1340) 2021-02-09 08:59:32 +01:00
ActiveWorkflowRunner.ts 🐛 Fix bug with expression in production webhook paths 2021-04-11 15:45:17 +02:00
CredentialsHelper.ts Add variable $mode 2021-01-29 09:31:40 +01:00
CredentialsOverwrites.ts 👕 Fix lint issue 2020-10-22 15:46:03 +02:00
CredentialTypes.ts Do not save credential default values to DB #PROD-52 2020-05-14 14:27:19 +02:00
Db.ts Unify execution id + Queue system (#1340) 2021-02-09 08:59:32 +01:00
ExternalHooks.ts Make it possible to supply hook data with reload 2020-12-30 11:45:29 +01:00
GenericHelpers.ts Ignore issue as convict types are wrong 2021-03-25 11:42:19 +01:00
index.ts Separate webhooks from core (#1408) 2021-02-09 23:32:40 +01:00
Interfaces.ts Implement timeout for workers and corrected timeout for subworkflows (#1634) 2021-04-17 16:44:07 +02:00
LoadNodesAndCredentials.ts Make it possible to load only specific nodes 2020-12-01 10:53:43 +01:00
NodeTypes.ts 👕 Fix lint issue 2020-10-22 15:46:03 +02:00
Push.ts Fix build issue with new interfaces 2020-04-09 20:23:33 +02:00
Queue.ts Separate webhooks from core (#1408) 2021-02-09 23:32:40 +01:00
ResponseHelper.ts Separate webhooks from core (#1408) 2021-02-09 23:32:40 +01:00
Server.ts Use faster bcrypt implementation (#1593) 2021-04-13 18:26:25 +02:00
TestWebhooks.ts Add Activation Trigger (#1570) 2021-03-23 19:08:47 +01:00
WebhookHelpers.ts Improve node error handling (#1309) 2021-04-16 18:33:36 +02:00
WebhookServer.ts Separate webhooks from core (#1408) 2021-02-09 23:32:40 +01:00
WorkflowCredentials.ts Ignore node-credential-issues on disabled nodes 2020-02-09 23:24:12 -08:00
WorkflowExecuteAdditionalData.ts Implement timeout for workers and corrected timeout for subworkflows (#1634) 2021-04-17 16:44:07 +02:00
WorkflowHelpers.ts 👕 Fix lint issue 2020-10-22 15:46:03 +02:00
WorkflowRunner.ts Implement timeout for workers and corrected timeout for subworkflows (#1634) 2021-04-17 16:44:07 +02:00
WorkflowRunnerProcess.ts Implement timeout for workers and corrected timeout for subworkflows (#1634) 2021-04-17 16:44:07 +02:00