Questions tagged [bull-queue]

41 questions
0
votes
0 answers

why nestjs cron job doesn't work?? can' even guess

i implement cron job A(EVERY_DAY_AT_8AM) on the batch server when cron job A executed it queues a job to bull queue and the other server consumes the job from bull queue on batch server other cronjob which is executed more frequently than cron job A…
gun bos
  • 51
  • 4
0
votes
0 answers

How kill a ongoing job (long task function inside queue process) in an bull npm?

How kill a ongoing job Const Queue = require ('bull') Const queue = new Queue(bull) Queue. Process ((job, done)=>{`your text` LongTask(job. Data) // console data for 10 mint )} queue.add('firstData');`hhk` queue.add('SecondData'); Expected : I…
fun gem
  • 1
  • 1
0
votes
1 answer

In redis when bull queue locked in nodejs? and how to solve this issue?

I'm using Redis 3.0.504, and store job id sometimes queues are not executed, and the **lock ** queue,when bull queue locked in nodejs? localhost:6380> get "bull:myqueue queue:2524:lock" "c145f8af-852b-433e-9400-13e09419553d"
0
votes
1 answer

Bull - Triggering multiple functions on a single queue

i would like to create one Bull Queue, and put function in queue? is it possible. for example: I have http request /func1 + params -> start func1(params) http request /func2 + params -> start func2(params) http request /func3 + params -> start…
user1862965
  • 327
  • 3
  • 15
0
votes
0 answers

Bull queue nestjs not processing the job at correct time

I am trying to create a time in milliseconds to pass it to delay using bull queue. I can correctly get time for the processing of the job, but somehow the job is not being called at a specific time. Some time it take more than 30 or 45 seconds to…
JN_newbie
  • 5,492
  • 14
  • 59
  • 97
0
votes
1 answer

Is there a way to pass command line arguments to node process while loading environment to child process for a job in bull?

I need to pass command-line arguments or params or execargv which should come in process params while loading environment for a child process which will be launched by a bull for process a job. is it possible? if yes is there any way to do it? I can…
Stephen
  • 834
  • 7
  • 13
0
votes
1 answer

Question about Bull queue : @OnQueueCompleted() listening for one completed job?

If I use the @OnQueueCompleted(), so I can get the response from one completed job in the queue, am I right? Or the @Onqueuecompleted() only responds when all jobs in the queue are completed. Please help
Erika
  • 453
  • 8
  • 23
0
votes
2 answers

bull repeatable jobs left in Redis

I started using the repeatable jobs in bull and everything seems to be working well for me. However, I noticed that each iteration leaves a job in…
ticktock
  • 1,593
  • 3
  • 16
  • 38
0
votes
1 answer

How to set "status" in queue

I have a function which add me to queue a job like this: async addJob(someParameters: SomeParameters): Promise { await this.saveToDb(someParameters); try { await this.jobQueue.add('job', { …
0
votes
1 answer

Start Bull Queue Process on Startup of Application

I am creating queue and adding job inside my API. I am also starting processing my job on API call. const newQueue = createQueue(queueName, opts); newQueue.add('JokesJob', data, options); newQueue.process('JokesJob', async (job) => { …
xMayank
  • 1,875
  • 2
  • 5
  • 19
0
votes
1 answer

Run queue groups in the bull queue

I'm developing an application in nodejs, which manages queues in the bull, and it needs to make several HTTP requests asynchronously and then I need to get the result of these calls and perform a processing. Keep asking me if the bull could be…
Saulo Lins
  • 78
  • 1
  • 7
1 2
3