merb_activerecord mysql keepalive breaks with thin
Reported by Matt Colyer | August 28th, 2008 @ 06:58 PM | in 0.9.6
There is a thread to in merb_activerecord to make sure that any open mysql connections don't die. However I have noticed that when running merb in production (with thin) that the thread doesn't get scheduled often enough. I believe this to be caused by the low priority on the thread. By leaving the thread at it's normal priority level it the issue is resolved. I have attached a patch to do just that.
Comments and changes to this ticket
-
Michael Klishin (antares) August 29th, 2008 @ 12:16 PM
- → Milestone changed from to 0.9.6
- → State changed from new to open
-
Michael Klishin (antares) September 4th, 2008 @ 06:57 AM
- → State changed from open to resolved
- → Assigned user changed from to Michael Klishin (antares)
Applied, thank you.
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
