Skip to content

Commit

Permalink
Merge pull request #814 from Shopify/schwad_deadcode
Browse files Browse the repository at this point in the history
Removes unused code
  • Loading branch information
Schwad authored Apr 27, 2023
2 parents ead4864 + cdefc0b commit 097ba3b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/models/maintenance_tasks/run.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ class Run < ApplicationRecord
:cancelled,
]
COMPLETED_STATUSES = [:succeeded, :errored, :cancelled]
COMPLETED_RUNS_LIMIT = 10
STUCK_TASK_TIMEOUT = 5.minutes

enum status: STATUSES.to_h { |status| [status, status.to_s] }
Expand Down

0 comments on commit 097ba3b

Please sign in to comment.