feat: update retry algorithm for qstash
avoids dlq until it has to
This commit is contained in:
@@ -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",
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user