diff --git a/connector_test.go b/connector_test.go index 8e0c7cbc..a6a5d337 100644 --- a/connector_test.go +++ b/connector_test.go @@ -89,7 +89,7 @@ func TestNewConnector(t *testing.T) { WithHTTPPath(httpPath), ) expectedCloudFetchConfig := config.CloudFetchConfig{ - UseCloudFetch: false, + UseCloudFetch: true, MaxDownloadThreads: 10, MaxFilesInMemory: 10, MinTimeToExpiry: 0 * time.Second, @@ -130,7 +130,7 @@ func TestNewConnector(t *testing.T) { WithRetries(-1, 0, 0), ) expectedCloudFetchConfig := config.CloudFetchConfig{ - UseCloudFetch: false, + UseCloudFetch: true, MaxDownloadThreads: 10, MaxFilesInMemory: 10, MinTimeToExpiry: 0 * time.Second, diff --git a/internal/config/config.go b/internal/config/config.go index d5ede1c7..c6048c01 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -471,7 +471,7 @@ type CloudFetchConfig struct { } func (cfg CloudFetchConfig) WithDefaults() CloudFetchConfig { - cfg.UseCloudFetch = false + cfg.UseCloudFetch = true if cfg.MaxDownloadThreads <= 0 { cfg.MaxDownloadThreads = 10