Skip to content

Commit

Permalink
exponential backoff
Browse files Browse the repository at this point in the history
  • Loading branch information
abvthecity committed Jan 24, 2025
1 parent 6295830 commit d98f03d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/fern-docs/ui/src/mdx/bundlers/mdx-bundler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ export async function serializeMdx(
console.error(e);
}
attempts++;
// exponential backoff
await new Promise((resolve) => setTimeout(resolve, 1000 * attempts));
}
return content;
Expand Down

0 comments on commit d98f03d

Please sign in to comment.