summaryrefslogtreecommitdiff
path: root/src/mongo/db/keys_collection_manager.cpp
diff options
context:
space:
mode:
authorMisha Tyulenev <misha@mongodb.com>2017-06-23 16:40:32 -0400
committerMisha Tyulenev <misha@mongodb.com>2017-06-23 20:51:20 -0400
commitf92fe733273f966fcb8397170376af1802c1e6a5 (patch)
tree31dd4d435b98062bd9d6f55da8ed0348e78b0a04 /src/mongo/db/keys_collection_manager.cpp
parent8004de424a597cf5933f2380cb31c63c0558630a (diff)
downloadmongo-f92fe733273f966fcb8397170376af1802c1e6a5.tar.gz
SERVER-29248 Add parameter to adjust frequency of key rotation
Diffstat (limited to 'src/mongo/db/keys_collection_manager.cpp')
-rw-r--r--src/mongo/db/keys_collection_manager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/keys_collection_manager.cpp b/src/mongo/db/keys_collection_manager.cpp
index c309e30bc1f..e91d9af8dad 100644
--- a/src/mongo/db/keys_collection_manager.cpp
+++ b/src/mongo/db/keys_collection_manager.cpp
@@ -45,6 +45,7 @@
namespace mongo {
+const Seconds KeysCollectionManager::kKeyValidInterval{3 * 30 * 24 * 60 * 60}; // ~3 months
namespace {
Milliseconds kDefaultRefreshWaitTime(30 * 1000);