Merge: nixos/nginx: fix type of mapHashBucketSize (#413269)

This commit is contained in:
Maximilian Bosch 2025-06-05 16:11:55 +02:00 committed by GitHub
commit 30a7b0a65f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1002,17 +1002,14 @@ in
}; };
mapHashBucketSize = mkOption { mapHashBucketSize = mkOption {
type = types.nullOr ( type = types.nullOr (types.ints.positive);
types.enum [
32
64
128
]
);
default = null; default = null;
description = '' description = ''
Sets the bucket size for the map variables hash tables. Default Sets the bucket size for the map variables hash tables. Default
value depends on the processors cache line size. value depends on the processors cache line size.
Refer to [the nginx docs on hashes](https://nginx.org/en/docs/hash.html)
for more information.
''; '';
}; };