On Mar 18, 2:24 pm, Jason Thomas <[email protected]> wrote: > Sounds reasonable to me. I assume that adding the ALTER SESSION code > to the connect method is also thread and disconnect safe? I'll try it > out.
Yep. :after_connect procs are called after that connect method returns by the connection pool code, before the connection has been added to the pool. Once a connection has been added to the pool, there is no thread-safe way to modify it. Well, you could make sure nothing is using the connection pool and loop over all available connections, but the making sure nothing is using the connection pool is left up to you. :) Jeremy -- You received this message because you are subscribed to the Google Groups "sequel-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/sequel-talk?hl=en.
