< Summary

Information
Class: Elsa.Workflows.Runtime.Options.ElsaReadinessHealthCheckOptions
Assembly: Elsa.Workflows.Runtime
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Runtime/Options/ElsaReadinessHealthCheckOptions.cs
Line coverage
100%
Covered lines: 2
Uncovered lines: 0
Coverable lines: 2
Total lines: 17
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_DistributedLockAcquisitionTimeout()100%11100%
get_ContinuePersistenceProbesAfterFailure()100%11100%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Runtime/Options/ElsaReadinessHealthCheckOptions.cs

#LineLine coverage
 1namespace Elsa.Workflows.Runtime.Options;
 2
 3/// <summary>
 4/// Configures Elsa workflow runtime readiness health checks.
 5/// </summary>
 6public class ElsaReadinessHealthCheckOptions
 7{
 8    /// <summary>
 9    /// The maximum time the distributed-lock readiness probe waits to acquire its probe lock.
 10    /// </summary>
 3811    public TimeSpan DistributedLockAcquisitionTimeout { get; set; } = TimeSpan.FromSeconds(1);
 12
 13    /// <summary>
 14    /// Whether persistence readiness probing should continue after the first failed store probe.
 15    /// </summary>
 916    public bool ContinuePersistenceProbesAfterFailure { get; set; }
 17}