diff --git a/internal/config/config.go b/internal/config/config.go index 8e4fe3ea0..618208b57 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -27,7 +27,7 @@ type Config struct { DocsSourcesPath string `envconfig:"DOCS_SOURCES_PATH" required:"false" default:"docs/"` DocsIndexPath string `envconfig:"DOCS_INDEX_PATH" required:"false" default:"docs.bleve"` PackagesDB string `envconfig:"PACKAGES_DB" required:"false" default:"data/packages.db"` - ServerScrapeInterval time.Duration `envconfig:"SERVER_SCRAPE_INTERVAL" required:"false" default:"1h"` + ServerScrapeInterval time.Duration `envconfig:"SERVER_SCRAPE_INTERVAL" required:"false" default:"15m"` PackageSearchInterval time.Duration `envconfig:"PACKAGE_SEARCH_INTERVAL" required:"false" default:"24h"` PackageScrapeInterval time.Duration `envconfig:"PACKAGE_SCRAPE_INTERVAL" required:"false" default:"24h"` }