1
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2024-11-30 23:59:16 +01:00

Add comment for SocketTimeout

This commit is contained in:
Dave Hadka 2020-04-28 21:31:41 -04:00 committed by Aiqiao Yan
parent cbbb8b4d4f
commit 2a973a0f4e
3 changed files with 9 additions and 0 deletions

View file

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

3
dist/save/index.js vendored
View file

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

View file

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