> > It would be really useful if, when one of these
> > large finds is run, that I could record the thread ID it creates so if
> > I need to kill a thread, I can match it back up to the originating
> > find() call.
>
> If the database kills a thread, can't you just rescue the appropriate
> exception?

That's a good point. I'll try catching the exception and storing the
find parameters so I can run that query at time when I can afford to.

Thanks for the help,

Michaël

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to