We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d080ba0 commit f390fbfCopy full SHA for f390fbf
1 file changed
pbm/storage/gcs/google_client.go
@@ -109,6 +109,12 @@ func (g googleClient) Close() error {
109
return nil
110
}
111
112
+ if g.cfg.parallelUploadEnabled() {
113
+ // Google SDK parallel upload starts temporary object cleanup asynchronously
114
+ // after Writer.Close returns. Give it a short window before closing the client.
115
+ time.Sleep(2 * time.Second)
116
+ }
117
+
118
return g.client.Close()
119
120
0 commit comments