-
Notifications
You must be signed in to change notification settings - Fork 15
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
Provide an example index.json file #209
Comments
@olliechick the options are documented here: https://github.com/bee-queue/arena/#usage |
My
It doesn't have the queueing library that is documented in the link you provided - how would I import that? |
@olliechick did you try: {
Bull,
"queues": [
{
"type": "bullmq",
"name": "REDACTED1",
"hostId": "REDACTED2",
"redis": {
"host": "REDACTED3",
"port": 6379,
"password": "REDACTED4"
}
}
],
"flows": [
{
"type": "bullmq",
"name": "REDACTED1",
"hostId": "REDACTED2",
"redis": {
"host": "REDACTED3",
"port": 6379,
"password": "REDACTED4"
}
}
]
} |
I get the same error with BullMQ. The above example isn't valid JSON, it's JS (and produces a JSON parse error if I try using it anyway). The problem is that docker-arena expects return BullMQ || (BullMQ = require('bullmq').Queue); and I've got docker-arena working. |
Per bee-queue#209, the `bullmq` package doesn't return a single constructor, so docker-arena needs to instantiate the `Queue` class specifically.
There is no example
index.json
file, so it is not clear what should go in it.With my current
index.json
, I get the error:The text was updated successfully, but these errors were encountered: