Permalink
Browse files

Use faster form of running callbacks

  • Loading branch information...
1 parent ab1407c commit a87b62729715fb286ea613e6e3ec59135a82529d @wycats wycats committed Jun 4, 2010
@@ -211,7 +211,7 @@ def checkout
# calling +checkout+ on this pool.
def checkin(conn)
@connection_mutex.synchronize do
- conn.run_callbacks :checkin do
+ conn._run_checkin_callbacks do
@checked_out.delete conn
@queue.signal
end

0 comments on commit a87b627

Please sign in to comment.