Add comment for SocketTimeout

pull/269/head
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["PullRequest"] = "pull_request";
})(Events = exports.Events || (exports.Events = {})); })(Events = exports.Events || (exports.Events = {}));
exports.CacheFilename = "cache.tgz"; 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; exports.SocketTimeout = 5000;

3
dist/save/index.js vendored
View File

@ -4578,6 +4578,9 @@ var Events;
Events["PullRequest"] = "pull_request"; Events["PullRequest"] = "pull_request";
})(Events = exports.Events || (exports.Events = {})); })(Events = exports.Events || (exports.Events = {}));
exports.CacheFilename = "cache.tgz"; 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; exports.SocketTimeout = 5000;

View File

@ -21,4 +21,7 @@ export enum Events {
export const CacheFilename = "cache.tgz"; 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; export const SocketTimeout = 5000;