< Summary

Information
Class: Elsa.Common.DistributedHosting.DistributedLockingOptions
Assembly: Elsa.Common
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Common/DistributedHosting/Options/DistributedLockingOptions.cs
Line coverage
100%
Covered lines: 1
Uncovered lines: 0
Coverable lines: 1
Total lines: 15
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
get_LockAcquisitionTimeout()100%11100%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Common/DistributedHosting/Options/DistributedLockingOptions.cs

#LineLine coverage
 1using JetBrains.Annotations;
 2
 3namespace Elsa.Common.DistributedHosting;
 4
 5/// <summary>
 6/// Provides options related to distributed locking, which is used by the workflow runtime.
 7/// </summary>
 8[UsedImplicitly]
 9public class DistributedLockingOptions
 10{
 11    /// <summary>
 12    /// The maximum amount of time to wait before giving up trying to acquire a lock. Defaults to 10 minutes.
 13    /// </summary>
 122614    public TimeSpan LockAcquisitionTimeout { get; set; } = TimeSpan.FromMinutes(10);
 15}

Methods/Properties

get_LockAcquisitionTimeout()