summaryrefslogtreecommitdiff
path: root/src/mongo/client/replica_set_monitor_internal.h
diff options
context:
space:
mode:
authorBen Caimano <ben.caimano@10gen.com>2018-05-24 18:54:32 -0400
committerBen Caimano <ben.caimano@10gen.com>2018-06-08 19:12:46 -0400
commite95edfa14170e05a63a51df54d39e63cc49dbe91 (patch)
treea5ee8389d48f70d7b8ad7f5b70a63351473a803e /src/mongo/client/replica_set_monitor_internal.h
parentd1ef07466b2da86ad1933c1e607ef3f3364ba100 (diff)
downloadmongo-e95edfa14170e05a63a51df54d39e63cc49dbe91.tar.gz
SERVER-35216 Expose ReplicaSetManager refresh period to the mongo shell
Also made things slightly nicer in the RSM
Diffstat (limited to 'src/mongo/client/replica_set_monitor_internal.h')
-rw-r--r--src/mongo/client/replica_set_monitor_internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/client/replica_set_monitor_internal.h b/src/mongo/client/replica_set_monitor_internal.h
index f14080a16a7..a03ed7a2de0 100644
--- a/src/mongo/client/replica_set_monitor_internal.h
+++ b/src/mongo/client/replica_set_monitor_internal.h
@@ -206,6 +206,7 @@ public:
mutable PseudoRandom rand; // only used for host selection to balance load
mutable int roundRobin; // used when useDeterministicHostSelection is true
MongoURI setUri; // URI that may have constructed this
+ Seconds refreshPeriod;
};
struct ReplicaSetMonitor::ScanState {