elsa-core/src/modules/Elsa.Workflows.Runtime/Options/DistributedLockingOptions.cs

16 lines
540 B
C#
Raw Normal View History

using Elsa.Workflows.Runtime.Services;
using JetBrains.Annotations;
2022-12-22 19:23:18 +00:00
namespace Elsa.Workflows.Runtime.Options;
/// <summary>
/// Provides options related to distributed locking, which is used by <see cref="DefaultWorkflowRuntime"/>.
/// </summary>
[UsedImplicitly]
2022-12-22 19:23:18 +00:00
public class DistributedLockingOptions
{
/// <summary>
/// The maximum amount of time to wait before giving up trying to acquire a lock. Defaults to 10 minutes.
/// </summary>
public TimeSpan LockAcquisitionTimeout { get; set; } = TimeSpan.FromMinutes(10);
}