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

Function header

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

Source from the content-addressed store, hash-verified

982
983 const headers = ((error.response || {}).headers) || {};
984 const header = (name) => getHeader(headers, name);
985 const nowSec = Math.floor(Date.now() / 1000);
986
987 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