mirror of
https://github.com/gilbertchen/duplicacy
synced 2025-12-06 00:03:38 +00:00
More dev
This commit is contained in:
@@ -108,7 +108,8 @@ func CreateSwiftStorage(storageURL string, key string, threads int) (storage *Sw
|
||||
arguments["protocol"] = "https"
|
||||
}
|
||||
|
||||
ctx := context.TODO
|
||||
ctx, cancel := context.WithDeadline(context.Background(), time.Millisecond)
|
||||
defer cancel()
|
||||
|
||||
// Please refer to https://godoc.org/github.com/ncw/swift#Connection
|
||||
connection := swift.Connection{
|
||||
|
||||
Reference in New Issue
Block a user