You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem i'm having is that when cron1 runs it will clear the whole completed list and only leave the last cron1.
All other jobs are removed, It would seem that removeOnComplete is being set for the whole queue and not to this specific job.
Is this working as expected?
thanks!
The text was updated successfully, but these errors were encountered:
Hello!
Wondering if this is not supported/bugged or if i'm missing something on my implementation.
Basically i'm trying to only keep 1 completed repeatable job per job type.
Let's say i have the following repeatable jobs:
I'm attempting to keep on my completed list only the last time Cron 1 and Cron 2 ran.
I'm attempting this by passing
removeOnComplete: 1
when enqueuing a repeatable job.The problem i'm having is that when
cron1
runs it will clear the whole completed list and only leave the lastcron1
.All other jobs are removed, It would seem that
removeOnComplete
is being set for the whole queue and not to this specific job.Is this working as expected?
thanks!
The text was updated successfully, but these errors were encountered: