Class CleanupOptions
Configuration for the cleanup background service.
Inherited Members
Namespace: Chapar.Core.Cleanup
Assembly: Chapar.Core.dll
Syntax
public class CleanupOptions
Properties
| Edit this page View SourceEnabled
Whether the cleanup job is enabled. Default is true.
Declaration
public bool Enabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Interval
Interval at which the cleanup runs. Default is 1 hour.
Declaration
public TimeSpan Interval { get; set; }
Property Value
| Type | Description |
|---|---|
| TimeSpan |
RetentionPeriod
Records older than this time span will be deleted. Default is 7 days.
Declaration
public TimeSpan RetentionPeriod { get; set; }
Property Value
| Type | Description |
|---|---|
| TimeSpan |