Skip to content

Commit a50b9b6

Browse files
committed
minor change
1 parent 9c1c138 commit a50b9b6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

configs/config.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -302,11 +302,10 @@ type Config struct {
302302
ParquetMaxFileSizeMB int64 `env:"PARQUET_MAX_FILE_SIZE_MB" envDefault:"512"`
303303
InsightServiceUrl string `env:"INSIGHT_SERVICE_URL" envDefault:"https://insight.thirdweb.com"`
304304
InsightServiceApiKey string `env:"INSIGHT_SERVICE_API_KEY"`
305-
RedisAddr string `env:"REDIS_ADDR"`
305+
RedisAddr string `env:"REDIS_ADDR" envDefault:"localhost:6379"`
306306
RedisUsername string `env:"REDIS_USERNAME"`
307307
RedisPassword string `env:"REDIS_PASSWORD"`
308-
RedisDB int `env:"REDIS_DB"`
309-
RedisEnableTLS bool `env:"REDIS_ENABLE_TLS" envDefault:"true"`
308+
RedisDB int `env:"REDIS_DB" envDefault:"0"`
310309
}
311310

312311
var Cfg Config

0 commit comments

Comments
 (0)