Retry on 413 (#540)
This commit is contained in:
1 parent
9772449825
commit
975f43d6c7
5 files changed
+9
-3
No files matched your search
@@ -74,7 +74,8 @@ export function isRetryableStatusCode(statusCode?: number): boolean {
|
||||
HttpCodes.BadGateway,
|
||||
HttpCodes.ServiceUnavailable,
|
||||
HttpCodes.GatewayTimeout,
|
||||
HttpCodes.TooManyRequests
|
||||
HttpCodes.TooManyRequests,
|
||||
413 // Payload Too Large
|
||||
]
|
||||
return retryableStatusCodes.includes(statusCode)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user