Skip to content

Commit

Permalink
Merge pull request #1216 from keboola/set-timeouts-gcp-450
Browse files Browse the repository at this point in the history
set timeout gcs uploader
  • Loading branch information
romanbracinik authored Nov 14, 2023
2 parents f61e546 + ebcdd7b commit 6bf4360
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Keboola/StorageApi/GCSUploader.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ public function getLastReceivedToken()
$this->gcsClient = new GoogleStorageClient([
'projectId' => $options['projectId'],
'credentialsFetcher' => $this->fetchAuthToken,
'requestTimeout' => 500,
]);

if (!$transferOptions) {
Expand Down

0 comments on commit 6bf4360

Please sign in to comment.