From 62d9a84c2b0a3a3aacda9bebe4956a5d907a0911 Mon Sep 17 00:00:00 2001 From: Sandy Xu Date: Wed, 10 Jan 2024 13:49:40 +0800 Subject: [PATCH] cmd: add default value for cache-expire flag (#4327) --- cmd/flags.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/flags.go b/cmd/flags.go index 7497aa981d22..a9b624b94115 100644 --- a/cmd/flags.go +++ b/cmd/flags.go @@ -228,6 +228,7 @@ func dataCacheFlags() []cli.Flag { }, &cli.StringFlag{ Name: "cache-expire", + Value: "0", Usage: "cached blocks not accessed for longer than this option will be automatically evicted (0 means never)", }, })