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 authored and Aiqiao Yan committed May 11, 2020
1 parent cbbb8b4 commit 2a973a0
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 @@ -2750,6 +2750,9 @@ var Events;
Events["Push"] = "push";
Events["PullRequest"] = "pull_request";
})(Events = exports.Events || (exports.Events = {}));
// 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 @@ -2830,6 +2830,9 @@ var Events;
Events["Push"] = "push";
Events["PullRequest"] = "pull_request";
})(Events = exports.Events || (exports.Events = {}));
// 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 @@ -19,4 +19,7 @@ export enum Events {
PullRequest = "pull_request"
}

// 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 2a973a0

Please sign in to comment.