Property HealthCheckInterval
HealthCheckInterval
Gets or sets the interval at which health checks on the repo volume/directory are performed. Minimum value is 1 second. Default is 15 seconds.
Declaration
public TimeSpan HealthCheckInterval { get; set; }
Property Value
| Type | Description |
|---|---|
| TimeSpan |
Remarks
A relatively short health check interval is recommended to ensure that the repository can recover quickly from any issues that may arise, such as disconnected storage volumes, network issues, or other I/O problems. While the repository is being accessed, health checks run in the background and never block repository operations; once the repository has been idle for the interval they stop, so an idle repository performs no I/O, and the first operation after an idle period performs the check before proceeding. Health checks are lightweight (a single I/O sys-call). If a check fails, the repository automatically attempts to re-initialize itself, with each repository operation waiting up to MaxAccessWaitOrRetryTime for re-initialization before timing out.