Remove unnecessary recurring execution cleanup task

This task is unnecessary because the
`solid_queue_recurring_executions` table has a foreign key to
`solid_queue_jobs` with `on_delete: :cascade`.

This config was cargo-culted from HEY (in 44429644), which *does* need
this task to run because we've omitted the FK constraints there.
This commit is contained in:
Mike Dalessio
2026-01-04 11:05:19 -05:00
parent 182d36aee9
commit 27093e4e78
2 changed files with 1 additions and 6 deletions
+1
View File
@@ -132,6 +132,7 @@ ActiveRecord::Schema[8.2].define(version: 1) do
t.index ["key"], name: "index_solid_queue_semaphores_on_key", unique: true
end
# If these FKs are removed, make sure to periodically run `RecurringExecution.clear_in_batches`
add_foreign_key "solid_queue_blocked_executions", "solid_queue_jobs", column: "job_id", on_delete: :cascade
add_foreign_key "solid_queue_claimed_executions", "solid_queue_jobs", column: "job_id", on_delete: :cascade
add_foreign_key "solid_queue_failed_executions", "solid_queue_jobs", column: "job_id", on_delete: :cascade