fixed shit
Some checks failed
Run tests / run_tests (push) Failing after 3s

This commit is contained in:
Snorre Ettrup Altschul 2025-04-04 00:53:14 +02:00
parent 0696a90d23
commit 33a30b1d2a
4 changed files with 44 additions and 47 deletions

View file

@ -4,7 +4,7 @@
...
}:
with lib; let
mkStrOption = default: description: {
mkStrOption = default: description: mkOption {
type = types.str;
inherit default description;
};
@ -335,20 +335,20 @@ in {
default = true;
};
SlowResponseThresholdMs = {
SlowResponseThresholdMs = mkOption {
type = types.int;
default = 500;
description = "How slow (in ms) would a response have to be before a warning is shown";
};
CorsHosts = {
CorsHosts = mkOption {
type = with types; listOf str;
default = [
"*"
];
};
ActivityLogRetentionDays = {
ActivityLogRetentionDays = mkOption {
type = types.int;
default = 30;
};
@ -410,7 +410,7 @@ in {
ParallelImageEncodingLimit = mkOption {
type = types.int;
default = 0;
descriptio = ''
description = ''
Maximum number of image encodings that are allowed to run in parallel.
Setting this to 0 will choose a limit based on your systems core count.
'';