Skip to content

Commit

Permalink
destroy :requeue
Browse files Browse the repository at this point in the history
  • Loading branch information
brianlball committed Aug 14, 2024
1 parent 74c5bee commit 7c24bc0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/app/models/data_point.rb
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ def destroy_background_job
elsif Rails.application.config.job_manager == :resque
if job_id
Resque::Job.destroy(:simulations, 'ResqueJobs::RunSimulateDataPoint', job_id)
Resque::Job.destroy(:requeued, 'ResqueJobs::RunSimulateDataPoint', job_id)
end
else
raise 'Rails.application.config.job_manager must be set to :resque or :delayed_job'
Expand Down

0 comments on commit 7c24bc0

Please sign in to comment.