mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
Merge: nixos/nginx: fix type of mapHashBucketSize (#413269)
This commit is contained in:
commit
30a7b0a65f
1 changed files with 4 additions and 7 deletions
|
@ -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 processor’s cache line size.
|
value depends on the processor’s cache line size.
|
||||||
|
|
||||||
|
Refer to [the nginx docs on hashes](https://nginx.org/en/docs/hash.html)
|
||||||
|
for more information.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue