Skip to content

Commit

Permalink
fix: status code for retrying
Browse files Browse the repository at this point in the history
  • Loading branch information
nrjadkry committed Sep 30, 2024
1 parent aecf747 commit aea76bb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const ImageBoxPopOver = () => {
mutationFn: () => postProcessImagery(projectId, taskId),
onSuccess: () => toast.success('Image processing started'),
retry: (failureCount: any, error: any) =>
error.status === 304 && failureCount < 5,
error.status === 307 && failureCount < 5,
});

// function that gets the signed urls for the images and again puts them in chunks of 4
Expand Down

0 comments on commit aea76bb

Please sign in to comment.