From 760b9bfda8ccb0023743bb6ac7272d90c0041070 Mon Sep 17 00:00:00 2001 From: Andrew Morrow Date: Thu, 21 Feb 2019 14:18:23 -0500 Subject: SERVER-39555 Update KeysRotationIntervalSec param to IDL --- src/mongo/db/keys_collection_manager.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/mongo/db/keys_collection_manager.h') 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, -- cgit v1.2.1