summaryrefslogtreecommitdiff
path: root/src/mongo/db/keys_collection_manager.h
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2019-02-21 14:18:23 -0500
committerAndrew Morrow <acm@mongodb.com>2019-02-22 09:15:14 -0500
commit760b9bfda8ccb0023743bb6ac7272d90c0041070 (patch)
tree391a5e2b2883f2cc8fb4473c95e9a7482b8975d4 /src/mongo/db/keys_collection_manager.h
parent6cbe66fb2f5ec6579d21ec3a5a19ccaf669c8f61 (diff)
downloadmongo-760b9bfda8ccb0023743bb6ac7272d90c0041070.tar.gz
SERVER-39555 Update KeysRotationIntervalSec param to IDL
Diffstat (limited to 'src/mongo/db/keys_collection_manager.h')
-rw-r--r--src/mongo/db/keys_collection_manager.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mongo/db/keys_collection_manager.h b/src/mongo/db/keys_collection_manager.h
index b0a4178cbcd..660d998f07f 100644
--- a/src/mongo/db/keys_collection_manager.h
+++ b/src/mongo/db/keys_collection_manager.h
@@ -35,6 +35,7 @@
#include "mongo/db/key_generator.h"
#include "mongo/db/keys_collection_cache.h"
#include "mongo/db/keys_collection_document.h"
+#include "mongo/db/keys_collection_manager_gen.h"
#include "mongo/stdx/functional.h"
#include "mongo/stdx/mutex.h"
#include "mongo/stdx/thread.h"
@@ -48,8 +49,6 @@ class LogicalTime;
class ServiceContext;
class KeysCollectionClient;
-extern int KeysRotationIntervalSec;
-
/**
* The KeysCollectionManager queries the config servers for keys that can be used for
* HMAC computation. It maintains an internal background thread that is used to periodically
@@ -57,7 +56,6 @@ extern int KeysRotationIntervalSec;
*/
class KeysCollectionManager {
public:
- static const Seconds kKeyValidInterval;
static const std::string kKeyManagerPurposeString;
KeysCollectionManager(std::string purpose,