Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

typo rs

  • Loading branch information...
commit 3f469b555721c37ecd989d7b7d86e122d5daca4d 1 parent eb66a29
Dwight Merriman authored November 17, 2010 erh committed November 20, 2010

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  db/repl/rs_member.h
2  db/repl/rs_member.h
@@ -80,7 +80,7 @@ namespace mongo {
80 80
         bool up() const { return health > 0; }
81 81
 
82 82
         /** health is set to -1 on startup.  that means we haven't even checked yet.  0 means we checked and it failed. */
83  
-        bool maybeUp() const { return health >= 0; }
  83
+        bool maybeUp() const { return health != 0; }
84 84
 
85 85
         long long timeDown() const; // ms
86 86
 

0 notes on commit 3f469b5

Please sign in to comment.
Something went wrong with that request. Please try again.