diff --git a/src/clients/Elsa.Api.Client/Resources/Alterations/Models/Cancel.cs b/src/clients/Elsa.Api.Client/Resources/Alterations/Models/Cancel.cs new file mode 100644 index 000000000..c616d4c3a --- /dev/null +++ b/src/clients/Elsa.Api.Client/Resources/Alterations/Models/Cancel.cs @@ -0,0 +1,6 @@ +namespace Elsa.Api.Client.Resources.Alterations.Models; + +/// +/// Cancels the workflow instances in an alteration plan. +/// +public class Cancel : AlterationBase; \ No newline at end of file diff --git a/src/modules/Elsa.Workflows.Runtime/Features/WorkflowRuntimeFeature.cs b/src/modules/Elsa.Workflows.Runtime/Features/WorkflowRuntimeFeature.cs index ec5ab8537..aa123fe9b 100644 --- a/src/modules/Elsa.Workflows.Runtime/Features/WorkflowRuntimeFeature.cs +++ b/src/modules/Elsa.Workflows.Runtime/Features/WorkflowRuntimeFeature.cs @@ -312,7 +312,7 @@ public class WorkflowRuntimeFeature(IModule module) : FeatureBase(module) .AddRecurringTask(TimeSpan.FromMinutes(1)) .AddRecurringTask(TimeSpan.FromSeconds(10)) .AddRecurringTask(TimeSpan.FromMinutes(5)) // Same default as the workflow liveness threshold. - + // Distributed locking. .AddSingleton(DistributedLockProvider)