On 3 Nov 2009, at 19:58, Gary wrote:

> We have a Merb app, but it's a bin/rake task that's running.  No
> forking within the rake task, but it is a few green threads running,
> which should be sleeping more often than not.  One thought is a green
> thread might fail to yield politely.  But that would be ok if it just
> caused a single DB query to  timeout and I could then recover.

Merb actually also forks for rake tasks, depending on the  
configuration. Could you please check whether it really doesn't do this?

Another issue could pop up if you have multiple green threads that use  
the same DO connection, so that could also be an issue.

-- 
Regards,

Dirkjan

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"DataMapper" group.
To post to this group, send email to datamapper@googlegroups.com
To unsubscribe from this group, send email to 
datamapper+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/datamapper?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to