Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions connector_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion internal/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading