Merge pull request #6487 from elsa-workflows/feature/blue-func

Added missing functionalities from main as part of the blueberry merge
This commit is contained in:
MariusVuscanNx 2025-03-12 14:01:59 +02:00 committed by GitHub
commit 24bd64b8b4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 1 deletions

View file

@ -0,0 +1,6 @@
namespace Elsa.Api.Client.Resources.Alterations.Models;
/// <summary>
/// Cancels the workflow instances in an alteration plan.
/// </summary>
public class Cancel : AlterationBase;

View file

@ -312,7 +312,7 @@ public class WorkflowRuntimeFeature(IModule module) : FeatureBase(module)
.AddRecurringTask<TriggerBookmarkQueueRecurringTask>(TimeSpan.FromMinutes(1))
.AddRecurringTask<PurgeBookmarkQueueRecurringTask>(TimeSpan.FromSeconds(10))
.AddRecurringTask<RestartInterruptedWorkflowsTask>(TimeSpan.FromMinutes(5)) // Same default as the workflow liveness threshold.
// Distributed locking.
.AddSingleton(DistributedLockProvider)