Skip to content

Commit

Permalink
remove viper defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
nopcoder committed Sep 10, 2023
1 parent dcae21e commit d6f1e39
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/config/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@ func setDefaults(cfgType string) {

viper.SetDefault("blockstore.local.path", "~/lakefs/data/block")
viper.SetDefault("blockstore.s3.region", "us-east-1")
viper.SetDefault("blockstore.s3.streaming_chunk_size", 2<<19) // 1MiB by default per chunk
viper.SetDefault("blockstore.s3.streaming_chunk_timeout", time.Second) // or 1 seconds, whatever comes first
viper.SetDefault("blockstore.s3.max_retries", 5)
viper.SetDefault("blockstore.s3.discover_bucket_region", true)
viper.SetDefault("blockstore.s3.pre_signed_expiry", 15*time.Minute)
Expand Down

0 comments on commit d6f1e39

Please sign in to comment.