Add comment for SocketTimeout

This commit is contained in:
Dave Hadka 2020-04-28 21:31:41 -04:00
parent 9bb13c71ec
commit 48b62c1c52
3 changed files with 9 additions and 0 deletions

View file

@ -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;

3
dist/save/index.js vendored
View file

@ -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;

View file

@ -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;