Mike Perham
Mike Perham
Show me the actual code. This is too complex to debug with a description.
Do you have the transactional client enabled? That can delay job push until the batch is no longer in context.
True, Sidekiq::Client should ignore transactional boundaries when inside the `jobs` block, but bugs and unexpected edge cases always exist.
Can you reduce it to a reproducible scenario? If you can, I can debug it for you.
Sidekiq 7 relied on an earlier version of connection_pool. Now that 8 relies on 2.5+, we can make idle reaping an option. Feel free to send a PR if you...
The only complication is reaping every capsule's pool, not just the main one.
WDYT? ^^^^^^^^^
I think rubygems have an rdoc_url element in the gemspec. That could be another piece of the puzzle.
@jwestbury I smoke tested it but I don't have any way to actually validate the functionality. Would you be able to test the branch in a staging environment and see...
These changes should apply cleanly to 7.x if you want homework. 😎