Skip to content

Impact of Puma's idle_timeout on User-Created Threads in the Application #3274

Answered by dentarg
fireva asked this question in Q&A
Discussion options

You must be logged in to vote

It is whatever worker are processing the request.

If you spawn background threads, I don't think it is a good idea to also use idle_timeout as you have discovered.

I think you should consider a background job system like https://github.com/resque/resque or https://github.com/sidekiq/sidekiq over just doing Thread.new for things that take a long time.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@fireva
Comment options

Answer selected by fireva
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants