From d05250923b48320008f8e2eb4a947c9485b1532b Mon Sep 17 00:00:00 2001 From: Nicola Murino Date: Tue, 10 Jun 2025 20:17:35 +0200 Subject: [PATCH] Revert "GCS: allow a 10 seconds timeout for client creation" This reverts commit b2e99350492962df182dd695ff1896aae6dd824f. Fixes #2000 Signed-off-by: Nicola Murino --- internal/vfs/gcsfs.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/internal/vfs/gcsfs.go b/internal/vfs/gcsfs.go index 57c151dc..895eacb0 100644 --- a/internal/vfs/gcsfs.go +++ b/internal/vfs/gcsfs.go @@ -85,9 +85,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, storage.WithJSONReads(),