upugo-dev

Results comments of upugo-dev

The plan in production is to spawn multiple workers pointing at the same queue yes, but right now I am just testing locally on one machine with a simple `sleep(5000)`...

handleSQS.js ``` const handleSQSMessage = async (message) => { const sleep = new Promise((resolve, reject) => { setTimeout(() => resolve('done!'), 5000); }); return await sleep; }; ``` index.js ``` const...

Hey, can anyone help me here? I need to `await` inside the handleMessage function, and not pick up any more messages until the handleMessage has either rejected or resolved. How...

also, I have an event listener on `'message_processed'` which looks like it never fires?

I've updated to 5.2.0 and still not getting the expected behavior (receive message A, start handling message A, wait, processed message A, receive message B, start handling message B, wait,...

Ooops, looks like I was setting my `handleMessageTimeout: 300ms` rather than `300s (=30000ms)`, a classic units error! So the messages were actually timing out before the async call could resolve,...