Class: OpsBackups::CleanupLimitJob
- Inherits:
-
ApplicationJob
- Object
- ActiveJob::Base
- ApplicationJob
- OpsBackups::CleanupLimitJob
- Defined in:
- app/jobs/ops_backups/cleanup_limit_job.rb
Overview
Cleanup job for limit backup policy
Instance Method Summary collapse
Instance Method Details
#perform(tag: "db_pg_full", limit: 14) ⇒ void
This method returns an undefined value.
12 13 14 |
# File 'app/jobs/ops_backups/cleanup_limit_job.rb', line 12 def perform(tag: "db_pg_full", limit: 14) OpsBackups::Backup.retain_last_limit_cleanup_policy(tag: tag, limit: limit) end |