1
0
Fork 0

adds timeout to single thread download

pull/1935/head
Prajjwal 2024-05-17 18:34:23 +05:30
parent 81041b245a
commit 7efbd158ad
2 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "github-actions.warp-cache", "name": "github-actions.warp-cache",
"version": "1.1.8", "version": "1.1.10",
"preview": true, "preview": true,
"description": "Github action to use WarpBuild's in-house cache offering", "description": "Github action to use WarpBuild's in-house cache offering",
"keywords": [ "keywords": [

View File

@ -254,7 +254,8 @@ export async function downloadCacheSingleThread(
retryOptions: { retryOptions: {
autoRetry: false, autoRetry: false,
maxRetries: 1 maxRetries: 1
} },
timeout: 300
}) })
await downloadCacheGCP(storage, archiveLocation, archivePath) await downloadCacheGCP(storage, archiveLocation, archivePath)
break break