Merge pull request #37585 from copumpkin/hologram-server-module
hologram-server module: add cache timeout option
This commit is contained in:
commit
7577356119
@ -23,8 +23,9 @@ let
|
|||||||
account = cfg.awsAccount;
|
account = cfg.awsAccount;
|
||||||
defaultrole = cfg.awsDefaultRole;
|
defaultrole = cfg.awsDefaultRole;
|
||||||
};
|
};
|
||||||
stats = cfg.statsAddress;
|
stats = cfg.statsAddress;
|
||||||
listen = cfg.listenAddress;
|
listen = cfg.listenAddress;
|
||||||
|
cachetimeout = cfg.cacheTimeoutSeconds;
|
||||||
});
|
});
|
||||||
in {
|
in {
|
||||||
options = {
|
options = {
|
||||||
@ -106,6 +107,12 @@ in {
|
|||||||
default = "";
|
default = "";
|
||||||
description = "Address of statsd server";
|
description = "Address of statsd server";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
cacheTimeoutSeconds = mkOption {
|
||||||
|
type = types.int;
|
||||||
|
default = 3600;
|
||||||
|
description = "How often (in seconds) to refresh the LDAP cache";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user