I want to have many queues, if i have a sequence of messages to send. Those messages have to be sent in the right sequence to the same number, but the sequence is not important between numbers.
This way works, but a think, it probably leaves a lot of leaks on the memory. Because of queue.process(job.data.phone.toString(), 1, processMessage) who may not be used after the conversation ends, for example
Guys, its possible do something like that?
I want to have many queues, if i have a sequence of messages to send. Those messages have to be sent in the right sequence to the same number, but the sequence is not important between numbers.
This way works, but a think, it probably leaves a lot of leaks on the memory. Because of
queue.process(job.data.phone.toString(), 1, processMessage)
who may not be used after the conversation ends, for examplemessage-sender
woker