diff options
author | Misha Tyulenev <misha@mongodb.com> | 2017-09-27 23:23:24 -0400 |
---|---|---|
committer | Misha Tyulenev <misha@mongodb.com> | 2017-09-27 23:23:46 -0400 |
commit | eeee1e2b64f70e8487f017ba579f3ca861c81e4f (patch) | |
tree | e1452828e142748f1f03be61a00c32dbb3ed6bc1 /src/mongo/db/keys_collection_manager.h | |
parent | 55637833c707998f685f997d43624c52cde99b45 (diff) | |
download | mongo-eeee1e2b64f70e8487f017ba579f3ca861c81e4f.tar.gz |
SERVER-30977 add clusterTime to standalone replica set
Diffstat (limited to 'src/mongo/db/keys_collection_manager.h')
-rw-r--r-- | src/mongo/db/keys_collection_manager.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/keys_collection_manager.h b/src/mongo/db/keys_collection_manager.h index 87b57ef1250..4d6771be838 100644 --- a/src/mongo/db/keys_collection_manager.h +++ b/src/mongo/db/keys_collection_manager.h @@ -39,6 +39,7 @@ class OperationContext; class LogicalTime; class ServiceContext; +extern int KeysRotationIntervalSec; /** * This is responsible for providing keys that can be used for HMAC computation. This also supports * automatic key rotation that happens on a configurable interval. @@ -46,6 +47,7 @@ class ServiceContext; class KeysCollectionManager { public: static const Seconds kKeyValidInterval; + static const std::string kKeyManagerPurposeString; virtual ~KeysCollectionManager(); |