mirror of
https://code.forgejo.org/actions/cache.git
synced 2024-11-28 15:09:15 +01:00
Add comment for SocketTimeout
This commit is contained in:
parent
9bb13c71ec
commit
48b62c1c52
3 changed files with 9 additions and 0 deletions
3
dist/restore/index.js
vendored
3
dist/restore/index.js
vendored
|
@ -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
3
dist/save/index.js
vendored
|
@ -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;
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue