Skip to content

Commit

Permalink
fix: gcs manager cancels context (#2662)
Browse files Browse the repository at this point in the history
  • Loading branch information
BonapartePC authored Nov 7, 2022
1 parent 9c009d9 commit 0964e83
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions services/filemanager/gcsmanager.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,6 @@ func (manager *GCSManager) ListFilesWithPrefix(ctx context.Context, startAfter,
return
}

ctx, cancel := context.WithTimeout(ctx, manager.getTimeout())
defer cancel()

// Create GCS Bucket handle
if manager.Config.Iterator == nil {
manager.Config.Iterator = client.Bucket(manager.Config.Bucket).Objects(ctx, &storage.Query{
Expand Down

0 comments on commit 0964e83

Please sign in to comment.