rack-fiber_pool icon indicating copy to clipboard operation
rack-fiber_pool copied to clipboard

Rails 4

Open singpolyma opened this issue 10 years ago • 5 comments

Has this been tried with Rails 4? I've been using it, and it works, but sometimes I get a "recursive locking" error, which seems odd since I'm not doing any locking (just Fiber yield/resume). Googling the error gives me information about something to do with thread-safe but not-fiber-safe code being an issue? I'm not sure.

singpolyma avatar Oct 02 '14 17:10 singpolyma

I have not tried with Rails 4. I think a backtrace would be helpful here. Are you able to provide this and any other relevant information?

alebsack avatar Oct 08 '14 09:10 alebsack

I don't get a backtrack because it happens in the Thin guts. I'll see if I can produce a simple test-case app to demonstrate.

singpolyma avatar Oct 08 '14 12:10 singpolyma

Which version of Thin?

alebsack avatar Oct 08 '14 14:10 alebsack

Thin 1.6.2

singpolyma avatar Oct 08 '14 14:10 singpolyma

It's not happening to me with my fork. https://github.com/ShogunPanda/rack-fiber_pool. Give it a try.

ShogunPanda avatar Feb 01 '15 21:02 ShogunPanda