Actions
Feature #11582
closed[API] Delete old job/container logs in main server process, instead of rake tasks invoked from cron jobs
Status:
Resolved
Priority:
Normal
Assigned To:
-
Category:
API
Target version:
-
Story points:
-
Description
The API server comes with two rake tasks, db:delete_old_job_logs and db:delete_old_container_logs. They are intended to be invoked periodically from cron jobs, but the cron job setup is not documented in the install guide.
Instead of relying on cron jobs, API server should clean up job/container logs the same way it cleans up audit logs in source:services/api/lib/audit_logs.rb.
Actions