Skip to content

Cant get to the queue page with bull-arena #182

Description

@gete76

Hi there,
I've setup bull-arena according to the docs but when I click on the queue name for queue details on the homepage at /arena, the request just hangs and then fails. I see it's hanging on the Queue.getJobCounts call. Here's what the basic app setup looks like. Any help would be appreciated. Thanks!

   const Arena = require('bull-arena')
   const express = require('express')
   const app = express()
   const { config } = require('./config/config')

   const bodyParser = require('body-parser')
   const cors = require('cors')
   const routes = require('./src/routes')
   const arena = Arena({
   queues:[
       {
        "name": config.queue_name,
        "hostId": "ImageMigrate",
        "redis": {"port":6709, "host":"localhost"}
        }
    ]
    },{
         basePath: '/',
         disableListen: false
    })

   app.use(cors())
   app.use(bodyParser.urlencoded({ extended: false }))
   app.use(bodyParser.json())
   app.use('/arena', arena)

  routes(app)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions