nix-cache: Tweak settings
This commit is contained in:
parent
7d4f3d8d51
commit
7506048118
1 changed files with 5 additions and 5 deletions
|
@ -95,7 +95,7 @@
|
|||
listen = "127.0.0.1:8080";
|
||||
|
||||
garbage-collection = {
|
||||
default-retention-period = "3 months";
|
||||
default-retention-period = "6 weeks";
|
||||
};
|
||||
|
||||
storage = {
|
||||
|
@ -116,16 +116,16 @@
|
|||
#
|
||||
# If 0, chunking is disabled entirely for newly-uploaded NARs.
|
||||
# If 1, all NARs are chunked.
|
||||
nar-size-threshold = 64 * 1024; # 64 KiB
|
||||
nar-size-threshold = 256 * 1024; # 256 KiB
|
||||
|
||||
# The preferred minimum size of a chunk, in bytes
|
||||
min-size = 16 * 1024; # 16 KiB
|
||||
min-size = 128 * 1024; # 128 KiB
|
||||
|
||||
# The preferred average size of a chunk, in bytes
|
||||
avg-size = 64 * 1024; # 64 KiB
|
||||
avg-size = 256 * 1024; # 256 KiB
|
||||
|
||||
# The preferred maximum size of a chunk, in bytes
|
||||
max-size = 256 * 1024; # 256 KiB
|
||||
max-size = 1024 * 1024; # 1024 KiB
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue