diff --git a/app/models/solid_queue/semaphore.rb b/app/models/solid_queue/semaphore.rb index 08b54f7b..b34cdd81 100644 --- a/app/models/solid_queue/semaphore.rb +++ b/app/models/solid_queue/semaphore.rb @@ -61,7 +61,7 @@ def attempt_creation_with_create_and_exception_handling limit == 1 ? false : attempt_decrement end - if ActiveRecord::Base.connection.adapter_name == 'PostgreSQL' + if ActiveRecord::Base.connection.adapter_name == "PostgreSQL" alias attempt_creation attempt_creation_with_insert_on_conflict else alias attempt_creation attempt_creation_with_create_and_exception_handling