-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,8 +16,6 @@ class DepositJob < ActiveJob::Base | |
end | ||
|
||
def perform(deposit) | ||
ActiveRecord::Base.connection_pool.with_connection do | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
mfenner
Member
|
||
deposit.process_data | ||
end | ||
deposit.process_data | ||
end | ||
end |
Why did you remove the database pool for all of the Sidekiq jobs? Is it because of all the 'failed to get a connection' issues?
I think I found a bug, which was a failure to call
ActiveRecord::Base.clear_active_connections!
on therescue_from StandardError
handler, which might have been responsible for the problem.