简体   繁体   English

在公牛队列中运行队列组

[英]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.我正在用nodejs开发一个应用程序,它管理公牛中的队列,它需要异步发出几个HTTP请求,然后我需要获取这些调用的结果并执行处理。 Keep asking me if the bull could be useful for this task, how it can process several jobs and get the result of all to perform the processing.不断问我公牛是否对这项任务有用,它如何处理多个工作并获得所有工作的结果来执行处理。

You can set concurrent in defining process.您可以在定义过程中设置并发。 Have a look here https://github.com/OptimalBits/bull#separate-processes看看这里https://github.com/OptimalBits/bull#separate-processes

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM