diff options
author | Ben Caimano <ben.caimano@10gen.com> | 2018-05-24 18:54:32 -0400 |
---|---|---|
committer | Ben Caimano <ben.caimano@10gen.com> | 2018-06-08 19:12:46 -0400 |
commit | e95edfa14170e05a63a51df54d39e63cc49dbe91 (patch) | |
tree | a5ee8389d48f70d7b8ad7f5b70a63351473a803e /src/mongo/client/replica_set_monitor_internal.h | |
parent | d1ef07466b2da86ad1933c1e607ef3f3364ba100 (diff) | |
download | mongo-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.h | 1 |
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 { |