Christian Nersesyan
Christian Nersesyan
One solution im thinking of is this: ``` await refreshQueue.add( id, { data }, { repeat: { every: minutes * 60 * (800 + , } } //800 represents milliseconds...
> This is the wrong repo for BullMQ issues, but I can give you an answer, you can use cron expressions to do this so that you generate the expression...
``` const ttlHours = Math.floor(ttlMinutes / 60); const ttlMilliseconds = ttlMinutes * 60 * 1000; const cron = ttlHours < 24 ? `* * */${ttlHours} * * *` : `*...
> You also cannot update related tables in an updateMany, which produces a very hard to debug error Ya the docs fail to point out that if you use the...