From c93b68208aa13206f4483eba8691dfaf567f354e Mon Sep 17 00:00:00 2001 From: Elad Nachmias Date: Mon, 25 Feb 2019 17:40:31 +0700 Subject: [PATCH] cmd/swarm: add default value to cache size --- cmd/swarm/flags.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/swarm/flags.go b/cmd/swarm/flags.go index b092a77476..05b06e7f25 100644 --- a/cmd/swarm/flags.go +++ b/cmd/swarm/flags.go @@ -149,8 +149,9 @@ var ( } SwarmStoreCacheCapacity = cli.UintFlag{ 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, + Value: 10000, } SwarmCompressedFlag = cli.BoolFlag{ Name: "compressed",