Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump seed timeout #2911

Merged
merged 7 commits into from
Sep 16, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ async function callWithRetry(fn: () => any, depth = 0): Promise<void> {
try {
return await fn()
} catch (e) {
if (depth > 7) {
if (depth > 10) {
throw e
}
await wait(2 ** depth * 30)
Expand Down
2 changes: 1 addition & 1 deletion packages/auth/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ const callWithRetry: CallableFunction = async (
try {
return await fn()
} catch (e) {
if (depth > 7) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can remove this one and the backend one this is the configuration for the migration files.
We are just worried about the ASE in this change, if I understand correctly

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, removed

if (depth > 10) {
throw e
}
await wait(2 ** depth * 30)
Expand Down
2 changes: 1 addition & 1 deletion packages/backend/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,7 @@ const callWithRetry: CallableFunction = async (
try {
return await fn()
} catch (e) {
if (depth > 7) {
if (depth > 10) {
throw e
}
await wait(2 ** depth * 30)
Expand Down
Loading