Skip to content

Commit

Permalink
chore: increase wait tries
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-737 committed Jun 21, 2024
1 parent 6fdfd68 commit dad25a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/network/sendMessage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const sendMessage = async (

const resJson = (await res.json()) as NetworkAPIError | APIMessage | undefined;

if (isNetworkApiError(resJson) && tries <= 2) {
if (isNetworkApiError(resJson) && tries <= 5) {
console.log('here', tries);
await wait(3000);
primaryUrl = switchUrl(primaryUrl);
Expand Down

0 comments on commit dad25a8

Please sign in to comment.