Skip to content

Commit

Permalink
Add comment for SocketTimeout
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Hadka committed Apr 29, 2020
1 parent 9bb13c7 commit 48b62c1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dist/restore/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4492,6 +4492,9 @@ var Events;
Events["PullRequest"] = "pull_request";
})(Events = exports.Events || (exports.Events = {}));
exports.CacheFilename = "cache.tgz";
// Socket timeout in milliseconds during download. If no traffic is received
// over the socket during this period, the socket is destroyed and the download
// is aborted.
exports.SocketTimeout = 5000;


Expand Down
3 changes: 3 additions & 0 deletions dist/save/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4578,6 +4578,9 @@ var Events;
Events["PullRequest"] = "pull_request";
})(Events = exports.Events || (exports.Events = {}));
exports.CacheFilename = "cache.tgz";
// Socket timeout in milliseconds during download. If no traffic is received
// over the socket during this period, the socket is destroyed and the download
// is aborted.
exports.SocketTimeout = 5000;


Expand Down
3 changes: 3 additions & 0 deletions src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,7 @@ export enum Events {

export const CacheFilename = "cache.tgz";

// Socket timeout in milliseconds during download. If no traffic is received
// over the socket during this period, the socket is destroyed and the download
// is aborted.
export const SocketTimeout = 5000;

0 comments on commit 48b62c1

Please sign in to comment.