1
0
mirror of https://github.com/gilbertchen/duplicacy synced 2025-12-06 00:03:38 +00:00
This commit is contained in:
Mark Feit
2021-12-04 10:53:34 -05:00
parent 95b1227d93
commit 0590daff85

View File

@@ -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{