#152 √ resolved
Matt Colyer

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

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 »

Shared Ticket Bins

People watching this ticket