fix: maxRetries set to 3

since max limit is 3
This commit is contained in:
2024-09-26 01:32:02 -04:00
parent 58fa52f083
commit 75eca0f6bd
3 changed files with 5 additions and 3 deletions

View File

@@ -43,7 +43,7 @@ export async function maybeScheduleNextAiringEpisode(
const { messageId } = await client.publishJSON({
url: `${domain}/internal/new-episode`,
body: { aniListId, episodeNumber: nextEpisode },
retries: 6,
retries: 3,
notBefore: airingAt,
});
await Promise.allSettled([