Skip to content

Commit

Permalink
fix lifetime
Browse files Browse the repository at this point in the history
  • Loading branch information
folland87 committed Mar 10, 2025
1 parent cb45e88 commit 0ca5b21
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/jobs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,10 @@ agenda.define(
);
agenda.define(
"update key numbers",
{ shouldSaveResult: true },
{
shouldSaveResult: true,
lockLifetime: 1000 * 60 * 60 * 5,
},
updateKeyNumbers,
);
agenda.define("reindex", { shouldSaveResult: true }, reindex);
Expand Down

0 comments on commit 0ca5b21

Please sign in to comment.