Zaros
Zaros
SIASapphire - Imagine a framework
Created by Zaros on 10/26/2023 in #sapphire-support
customJobOptions or bullJobsOptions
Hello I have several tasks repeated and would like to delete them from Redis once they are finished. I found Bull's doc that asks to add removeOnComplete in the job options: https://docs.bullmq.io/guide/queues/auto-removal-of-jobs The problem is that I have the impression that Sapphire never takes this into account because of 2 different variable names. https://github.com/sapphiredev/plugins/blob/main/packages/scheduled-tasks/src/lib/ScheduledTaskHandler.ts#L55-L90 The createRepeated function calls the create function with a bullJobsOptions variable in the options, but create looks to see if a customJobOptions variable exists. The options are never applied because the bullJobsOptions variable is never read.
9 replies
SIASapphire - Imagine a framework
Created by Zaros on 10/18/2023 in #sapphire-support
Minor error in the documentation
No description
3 replies
SIASapphire - Imagine a framework
Created by Zaros on 9/6/2023 in #sapphire-support
Duplicate Tasks
No description
11 replies