MCPcopy Create free account
hub / github.com/alibaba/open-code-review / header

Function header

scripts/github-actions/post-review-comments.js:1091–1091  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

1089
1090 const headers = ((error.response || {}).headers) || {};
1091 const header = (name) => getHeader(headers, name);
1092 const nowSec = Math.floor(Date.now() / 1000);
1093
1094 const cap = parseNonNegInt(process.env.OCR_RETRY_MAX_DELAY, 300000);

Callers 2

computeRetryDelayMsFunction · 0.85
logRateLimitQuotaFunction · 0.85

Calls 1

getHeaderFunction · 0.85

Tested by

no test coverage detected