Skip to content

Commit b5de937

Browse files
committed
tweak: increase image retry attempts to 10 with longer 10s delay between retries
1 parent bc2c3ac commit b5de937

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/imagekit-editor-dev/src/components/RetryableImage.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ const DEFAULT_NON_RETRYABLE = [400, 401, 403, 404, 410, 422, 500, 502, 503, 504]
5757
export default function RetryableImage(props: RetryableImageProps) {
5858
const {
5959
src,
60-
maxRetries = 3,
61-
retryDelay = 1000,
60+
maxRetries = 10,
61+
retryDelay = 10000,
6262
onRetryExhausted,
6363
onRetry,
6464
nonRetryableStatusCodes = DEFAULT_NON_RETRYABLE,

0 commit comments

Comments
 (0)