feat: update retry algorithm for qstash

avoids dlq until it has to
This commit is contained in:
2024-09-22 16:12:19 -04:00
parent 00d0f641a4
commit 15f680c4d0
4 changed files with 9 additions and 10 deletions

View File

@@ -121,8 +121,8 @@ app.openapi(route, async (c) => {
client.publishJSON({
url: c.req.url,
body: { deviceId, watchStatus, titleId, isRetrying: true },
retries: 0,
delay: 60,
retries: 3,
delay: "1m",
});
}