minor: ReplSetConnection#connected? will be eventaully consistent.

This commit is contained in:
Kyle Banker 2011-09-13 10:44:27 -04:00
parent 701bba8942
commit a370f3abed
1 changed files with 1 additions and 3 deletions

View File

@ -214,9 +214,7 @@ module Mongo
end
def connected?
sync_synchronize(:SH) do
@connected
end
@primary_pool || @read_pool
end
# @deprecated