minor: ReplSetConnection#connected? will be eventaully consistent.
This commit is contained in:
parent
701bba8942
commit
a370f3abed
|
@ -214,9 +214,7 @@ module Mongo
|
|||
end
|
||||
|
||||
def connected?
|
||||
sync_synchronize(:SH) do
|
||||
@connected
|
||||
end
|
||||
@primary_pool || @read_pool
|
||||
end
|
||||
|
||||
# @deprecated
|
||||
|
|
Loading…
Reference in New Issue