@getajobmike Doesn’t the block in ensure run within the thread? Maybe recursive thread creation is not allowed?
Conversation
Notices
-
Embed this notice
Eugen Rochko (gargron@mastodon.social)'s status on Thursday, 20-Feb-2025 02:25:21 JST Eugen Rochko
-
Embed this notice
Mike Perham :sidekiq: (getajobmike@ruby.social)'s status on Thursday, 20-Feb-2025 02:25:24 JST Mike Perham :sidekiq:
I have a customer seeing a ThreadError "can't alloc thread” exception. Anyone know why Ruby raises this error in this simple code example?
https://github.com/sidekiq/sidekiq/issues/6603#issuecomment-2668306623
-
Embed this notice