You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had misconfigured ActiveRecord connect pool: just enough connections for Puma but not for sucker_punch workers. Under higher load requests were failing with ActiveRecord::ConnectionTimeoutError. Unfortunately there was no notification because the exception was raised earlier in Rack middleware, before exception notifier.
I solved this by inserting exception notifier lower in middleware stack:
I had misconfigured ActiveRecord connect pool: just enough connections for Puma but not for sucker_punch workers. Under higher load requests were failing with ActiveRecord::ConnectionTimeoutError. Unfortunately there was no notification because the exception was raised earlier in Rack middleware, before exception notifier.
I solved this by inserting exception notifier lower in middleware stack:
Maybe this should be a default in
lib/exception_notification/rails.rb
?The text was updated successfully, but these errors were encountered: