mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-04 21:04:37 +08:00
More email retries
This commit is contained in:
parent
92087c8a5c
commit
95d383951a
@ -300,7 +300,7 @@ export async function lowLevelSendEmailDirectViaProvider(options: LowLevelSendEm
|
||||
}
|
||||
|
||||
return result;
|
||||
}, 3, { exponentialDelayBase: 2000 });
|
||||
}, 5, { exponentialDelayBase: 1000 });
|
||||
} catch (error) {
|
||||
if (error instanceof DoNotRetryError) {
|
||||
return Result.error(error.errorObj);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user