mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
cmd/swarm: add default value to cache size
This commit is contained in:
parent
997d763437
commit
c93b68208a
1 changed files with 2 additions and 1 deletions
|
|
@ -149,8 +149,9 @@ var (
|
||||||
}
|
}
|
||||||
SwarmStoreCacheCapacity = cli.UintFlag{
|
SwarmStoreCacheCapacity = cli.UintFlag{
|
||||||
Name: "store.cache.size",
|
Name: "store.cache.size",
|
||||||
Usage: "Number of recent chunks cached in memory (default 5000)",
|
Usage: "Number of recent chunks cached in memory",
|
||||||
EnvVar: SWARM_ENV_STORE_CACHE_CAPACITY,
|
EnvVar: SWARM_ENV_STORE_CACHE_CAPACITY,
|
||||||
|
Value: 10000,
|
||||||
}
|
}
|
||||||
SwarmCompressedFlag = cli.BoolFlag{
|
SwarmCompressedFlag = cli.BoolFlag{
|
||||||
Name: "compressed",
|
Name: "compressed",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue