1
0
Fork 0
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:
Henrik Hautakoski 2024-07-23 16:46:02 +02:00
parent d1d4bf58b1
commit ebbaf6e2c1
4 changed files with 35 additions and 0 deletions

View file

@ -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, "")