MCPcopy Create free account
hub / github.com/github/docs / calculateDelay

Function calculateDelay

lib/hydro.js:28–28  ·  view source on GitHub ↗
({ computedValue })

Source from the content-addressed store, hash-verified

26// The hope is that a patient retry is more useful than fewer individually
27// longer timeouts.
28const calculateDelay = ({ computedValue }) => Math.min(computedValue, 2000)
29const retryConfiguration = { limit: 3, calculateDelay }
30const timeoutConfiguration = { response: 1000 }
31

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected