-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I followed the guide but does not working in my env #2424
Comments
Which guide did you follow? the code above is not correct, for example the |
@manast Thanks for your reply. I found it somewhere else but how about this one ? I copied that code from the README file of the BULL and modified a little bit but the result is the same on my laptop. In my expectation the output will be but the |
Do you have a Redis instance running? Maybe you should start with BullMQ instead: https://docs.bullmq.io there are also complete tutorials here: https://blog.taskforce.sh |
@manast No, did not have a redis instance running. I will check it out . thanks. |
@manast After I installed the redis I working good, Thank you a lot... |
Description
I followed the guide but after I finished my work the code did not response as I expected.
Below is the image about the code and the output
You can see the output is stuck at the function
add
it is because i put theawait
at the beginning of the function callIf I remove the
await
statement the function will not stuck but the callback function of theprocess
will not output anything which mean it is not calling the callback function or there is no job in the queuehere is the pic of the output of the code which removed the
await
statementbut still the output and the debugger tell me the callback function are not triggered... I dont know what happend, is no job in the queue or something else happend ?
Minimal, Working Test code to reproduce the issue.
(An easy to reproduce test case will dramatically decrease the resolution time.)
here is the script
script.zip
Bull version
^4.9.0
Additional information
Node version
v16.16.0
Operation system
Linux (Manjaro)
The text was updated successfully, but these errors were encountered: