Skip to content

Commit

Permalink
CreateParentOidCsvJob Priority (#1441)
Browse files Browse the repository at this point in the history
Co-authored-by: JP Engstrom <jpengstrom@MWPF2ABKZ8.yu.yale.edu>
  • Loading branch information
JP Engstrom and JP Engstrom authored Sep 18, 2024
1 parent 9092143 commit 52844da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/jobs/create_parent_oid_csv_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class CreateParentOidCsvJob < ApplicationJob
queue_as :default

def default_priority
-100
50
end

def perform(batch_process, *admin_set_id)
Expand Down
2 changes: 1 addition & 1 deletion spec/jobs/create_parent_oid_csv_job_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
end

it "has correct priority" do
expect(create_parent_oid_csv_job.default_priority).to eq(-100)
expect(create_parent_oid_csv_job.default_priority).to eq(50)
end

it "has correct queue" do
Expand Down

0 comments on commit 52844da

Please sign in to comment.