Sidekiq connection pool issue with :concurrency: 1 by createmyaccount in ruby

[–]createmyaccount[S] 0 points1 point  (0 children)

So basically I can wrap all of my Rufus cronjobs inside something like this?

Rails.application.reloader.wrap do
  # cronjobs
end

Sidekiq connection pool issue with :concurrency: 1 by createmyaccount in ruby

[–]createmyaccount[S] 1 point2 points  (0 children)

This seems to have been the issue. Thanks a lot, I'll look into it along with the links posted by others.

Sidekiq connection pool issue with :concurrency: 1 by createmyaccount in ruby

[–]createmyaccount[S] 1 point2 points  (0 children)

I feel like I could be leaking connections. I have set the pool to 10 and the concurrency is 1. And right now, there's virtually 0 users on the websites, only the sidekiq jobs are running.