Skip to content

Commit ef4aedb

Browse files
authored
fix(driver): disable client timeout (#35)
Default client timeout causes timeout when importing large images.
1 parent 3c533c5 commit ef4aedb

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ See updating [Changelog example here](https://keepachangelog.com/en/1.0.0/)
55

66
## [Unreleased]
77

8+
### Fixed
9+
- client timeout when importing large images
10+
811
## [1.5.0] - 2022-06-09
912

1013
### Added

internal/driver/driver.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ type (
6565

6666
func NewDriver(c *DriverConfig) Driver {
6767
client := client.New(c.Username, c.Password)
68+
// A Timeout of zero means no timeout.
69+
client.SetTimeout(0)
6870
svc := service.New(client)
6971
return &driver{
7072
svc: svc,

0 commit comments

Comments
 (0)