Revert "GCS: allow a 10 seconds timeout for client creation"

This reverts commit d18e1ba3d9.

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
Nicola Murino
2025-06-10 20:18:28 +02:00
parent 0ce764e142
commit c9b897c09a

View File

@@ -86,9 +86,7 @@ func NewGCSFs(connectionID, localTempDir, mountPath string, config GCSFsConfig)
if err = fs.config.validate(); err != nil {
return fs, err
}
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second)
defer cancel()
ctx := context.Background()
if fs.config.AutomaticCredentials > 0 {
fs.svc, err = storage.NewClient(ctx)
} else {