3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #37585 from copumpkin/hologram-server-module

hologram-server module: add cache timeout option
This commit is contained in:
Daniel Peebles 2018-03-21 13:09:46 -04:00 committed by GitHub
commit 7577356119
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,8 +23,9 @@ let
account = cfg.awsAccount;
defaultrole = cfg.awsDefaultRole;
};
stats = cfg.statsAddress;
listen = cfg.listenAddress;
stats = cfg.statsAddress;
listen = cfg.listenAddress;
cachetimeout = cfg.cacheTimeoutSeconds;
});
in {
options = {
@ -106,6 +107,12 @@ in {
default = "";
description = "Address of statsd server";
};
cacheTimeoutSeconds = mkOption {
type = types.int;
default = 3600;
description = "How often (in seconds) to refresh the LDAP cache";
};
};
};