mirror of
https://github.com/eosswedenorg/thalos
synced 2026-06-20 09:56:47 +02:00
internal/config: Adding cache configuration
This commit is contained in:
parent
d1d4bf58b1
commit
ebbaf6e2c1
4 changed files with 35 additions and 0 deletions
|
|
@ -25,6 +25,9 @@ func GetFlags() *pflag.FlagSet {
|
|||
flags.String("telegram-id", "", "Id of telegram bot")
|
||||
flags.Int64("telegram-channel", 0, "Telegram channel to send notifications to")
|
||||
|
||||
// Cache
|
||||
flags.String("cache", "redis", "What cache driver to use")
|
||||
|
||||
// AbiCache
|
||||
flags.Duration("abi-cache-api-timeout", time.Second, "")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue