Commit Graph

6 Commits

Author SHA1 Message Date
Jorge Bejar 6b8ab02ec8 Fix issue RUBY-391
Fix a problem with the exception raised when trying to insert
in a replicaset when primary is not available.

The ssue is reported here: https://jira.mongodb.org/browse/RUBY-391
2011-12-16 13:44:21 -02:00
Kyle Banker 03303b8409 RUBY-374 Close connection on SystemStackError, NoMemoryError, and SystemCallError 2011-12-02 15:37:05 -05:00
Kyle Banker 8bd94b0ac2 RUBY-370: allow :j option 2011-11-28 13:33:42 -05:00
Kyle Banker fa10508f07 Remove thread-local map and socket map (complexity creep). 2011-11-18 15:47:06 -05:00
Kyle Banker f668678fd1 Store sockets in thread-local variables when possible.
Allow connection pools to grow if needed. All this minimizes
the number of locks required and reduces the waiting time
for these locks.
2011-11-03 18:37:23 -04:00
Kyle Banker 3e7c28e1ef Add networking module. 2011-11-02 18:01:48 -04:00