mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-13 21:01:21 +08:00
Allow transaction retries in dev mode
This commit is contained in:
parent
3e381bdaee
commit
a9b90dfb0a
@ -61,7 +61,7 @@ export async function retryTransaction<T>(fn: (...args: Parameters<Parameters<ty
|
||||
}
|
||||
return attemptRes;
|
||||
});
|
||||
}, isDev ? 1 : 3);
|
||||
}, 3);
|
||||
|
||||
span.setAttribute("stack.prisma.transaction.success", res.status === "ok");
|
||||
span.setAttribute("stack.prisma.transaction.attempts", res.attempts);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user