Maintenance
Maintenance and cleanup configuration variables.
Agent Cleanup
Section titled “Agent Cleanup”MAINTENANCE_STALE_AGENT_CLEANUP_ENABLED
Section titled “MAINTENANCE_STALE_AGENT_CLEANUP_ENABLED”- Name:
CROW_MAINTENANCE_STALE_AGENT_CLEANUP_ENABLED - Description: Enable automatic stale agent cleanup.
- Default:
true
MAINTENANCE_STALE_AGENT_DURATION
Section titled “MAINTENANCE_STALE_AGENT_DURATION”- Name:
CROW_MAINTENANCE_STALE_AGENT_DURATION - Description: Duration after which agents are considered stale (e.g., 24h for 1 day).
- Default:
24h
Kubernetes Cleanup
Section titled “Kubernetes Cleanup”MAINTENANCE_KUBERNETES_CLEANUP_ENABLED
Section titled “MAINTENANCE_KUBERNETES_CLEANUP_ENABLED”- Name:
MAINTENANCE_KUBERNETES_CLEANUP_ENABLED - Description: Whether to enable Kubernetes resource cleanup.
- Default:
none(truewhenCROW_BACKEND=kubernetes)
MAINTENANCE_KUBERNETES_CLEANUP_AGE
Section titled “MAINTENANCE_KUBERNETES_CLEANUP_AGE”- Name:
MAINTENANCE_KUBERNETES_CLEANUP_AGE - Description: The age threshold for Kubernetes resources to be cleaned up.
- Default:
168h
MAINTENANCE_KUBERNETES_CLEANUP_NAMESPACES
Section titled “MAINTENANCE_KUBERNETES_CLEANUP_NAMESPACES”- Name:
MAINTENANCE_KUBERNETES_CLEANUP_NAMESPACES - Description: Comma-separated list of namespaces to clean up.
- Default:
none(applies to current server namespace)
Log Table Vacuum
Section titled “Log Table Vacuum”MAINTENANCE_VACUUM_LOG_TABLE_ENABLED
Section titled “MAINTENANCE_VACUUM_LOG_TABLE_ENABLED”- Name:
CROW_MAINTENANCE_VACUUM_LOG_TABLE_ENABLED - Description: Whether to enable vacuuming of the log table.
- Default:
true
MAINTENANCE_VACUUM_LOG_TABLE_SCHEDULE
Section titled “MAINTENANCE_VACUUM_LOG_TABLE_SCHEDULE”- Name:
CROW_MAINTENANCE_VACUUM_LOG_TABLE_SCHEDULE - Description: Cron schedule for vacuuming the log table.
- Default:
0 5 * * *