MCPcopy Index your code
hub / github.com/simstudioai/sim / isRetryableStatus

Function isRetryableStatus

apps/sim/lib/data-drains/destinations/gcs.ts:108–117  ·  view source on GitHub ↗
(status: number)

Source from the content-addressed store, hash-verified

106}
107
108function isRetryableStatus(status: number): boolean {
109 return (
110 status === 408 ||
111 status === 429 ||
112 status === 500 ||
113 status === 502 ||
114 status === 503 ||
115 status === 504
116 )
117}
118
119interface RetryRequestInput {
120 action: string

Callers 1

fetchWithRetryFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected