We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf4e62e commit 1d115b6Copy full SHA for 1d115b6
app/models/solid_queue/semaphore.rb
@@ -61,7 +61,7 @@ def attempt_creation_with_create_and_exception_handling
61
limit == 1 ? false : attempt_decrement
62
end
63
64
- if ActiveRecord::Base.connection.adapter_name == 'PostgreSQL'
+ if ActiveRecord::Base.connection.adapter_name == "PostgreSQL"
65
alias attempt_creation attempt_creation_with_insert_on_conflict
66
else
67
alias attempt_creation attempt_creation_with_create_and_exception_handling
0 commit comments