cleanup: Remove the cache location from settings

create-reload-action
Lukasz Janyst 4 years ago
parent 02dec92fb1
commit 6fa70a8711
No known key found for this signature in database
GPG Key ID: 32DE641041F17A9A
  1. 2
      pkg/config/settings/settings.go

@ -30,7 +30,6 @@ const (
AllowProxyKey = "AllowProxy"
CacheEnabledKey = "CacheEnabled"
CacheCompressionKey = "CacheCompression"
CacheLocationKey = "CacheLocation"
CacheMinFreeAbsKey = "CacheMinFreeAbs"
CacheMinFreeRatKey = "CacheMinFreeRat"
CacheConcurrencyRead = "CacheConcurrentRead"
@ -70,7 +69,6 @@ func (s *Settings) setDefaultValues() {
s.setDefault(AllowProxyKey, "false")
s.setDefault(CacheEnabledKey, "true")
s.setDefault(CacheCompressionKey, "true")
s.setDefault(CacheLocationKey, "")
s.setDefault(CacheMinFreeAbsKey, "250000000")
s.setDefault(CacheMinFreeRatKey, "")
s.setDefault(CacheConcurrencyRead, "16")

Loading…
Cancel
Save