RomainLanz / adonis-bull-queue

Queue system based on BullMQ for AdonisJS
MIT License
147 stars 26 forks source link

Should we change defaults ? #17

Closed RomainLanz closed 1 year ago

RomainLanz commented 1 year ago

Hey there! 👋🏻

I was wondering if we should change some defaults value.

For example, adding removeOnComplete to true by default may be beneficial to avoid too much mess in Redis.

:books: https://docs.bullmq.io/guide/queues/auto-removal-of-jobs

MaximeMRF commented 1 year ago

Hello,

I think it's a good idea because in my previous job we did not pay attention to this parameter and we ended up with thousands of jobs stored in redis for nothing.