node.js - Customize kue processing logic -


i pushing jobs in kue send data external server processing. server can take maximum 50 requests @ time. also, multiple services calling external server processing data.

that external server rejects requests coming beyond it's capacity. server respond proper error code when can't take more requests.

how can use kue gracefully re-push failed job again kue without changing order of jobs in kue.


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -