Giter Club home page Giter Club logo

Comments (5)

hans-lizihan avatar hans-lizihan commented on June 15, 2024

@zimiovid how did you declared the middleware? it seems like the lib cannot find the queue instance.

did you forget to include the queue like this?

bullMaster({
  queues: [exampleBullMq, exampleBull],
}),

from bull-master.

zimiovid avatar zimiovid commented on June 15, 2024

@zimiovid how did you declared the middleware? it seems like the lib cannot find the queue instance.

did you forget to include the queue like this?

bullMaster({
  queues: [exampleBullMq, exampleBull],
}),

My code

image

where queues

image

from bull-master.

hans-lizihan avatar hans-lizihan commented on June 15, 2024

@zimiovid it seems fine, could you debug the queue array run time value?

from bull-master.

zimiovid avatar zimiovid commented on June 15, 2024

@zimiovid it seems fine, could you debug the queue array run time value?

[
  Queue {
    name: 'white-label_admin-panel_sqs-elastic',
    token: 'f8ce7193-994b-4e60-8c84-2d41e011491a',
    keyPrefix: 'bull',
    clients: [ [Redis] ],
    clientInitialized: true,
    _events: [Object: null prototype] {
      close: [Function],
      error: [Function (anonymous)]
    },
    _eventsCount: 2,
    _initializing: Promise { <pending> },
    handlers: {},
    processing: [],
    retrieving: 0,
    drained: true,
    settings: {
      lockDuration: 30000,
      stalledInterval: 30000,
      maxStalledCount: 1,
      guardInterval: 5000,
      retryProcessDelay: 5000,
      drainDelay: 5,
      backoffStrategies: {},
      lockRenewTime: 15000
    },
    timers: TimerManager { idle: true, listeners: [], timers: {} },
    moveUnlockedJobsToWait: [Function: bound ],
    processJob: [Function: bound ],
    getJobFromId: [Function: bound ],
    keys: {
      '': 'bull:white-label_admin-panel_sqs-elastic:',
      active: 'bull:white-label_admin-panel_sqs-elastic:active',
      wait: 'bull:white-label_admin-panel_sqs-elastic:wait',
      waiting: 'bull:white-label_admin-panel_sqs-elastic:waiting',
      paused: 'bull:white-label_admin-panel_sqs-elastic:paused',
      resumed: 'bull:white-label_admin-panel_sqs-elastic:resumed',
      'meta-paused': 'bull:white-label_admin-panel_sqs-elastic:meta-paused',
      id: 'bull:white-label_admin-panel_sqs-elastic:id',
      delayed: 'bull:white-label_admin-panel_sqs-elastic:delayed',
      priority: 'bull:white-label_admin-panel_sqs-elastic:priority',
      'stalled-check': 'bull:white-label_admin-panel_sqs-elastic:stalled-check',
      completed: 'bull:white-label_admin-panel_sqs-elastic:completed',
      failed: 'bull:white-label_admin-panel_sqs-elastic:failed',
      stalled: 'bull:white-label_admin-panel_sqs-elastic:stalled',
      repeat: 'bull:white-label_admin-panel_sqs-elastic:repeat',
      limiter: 'bull:white-label_admin-panel_sqs-elastic:limiter',
      drained: 'bull:white-label_admin-panel_sqs-elastic:drained',
      progress: 'bull:white-label_admin-panel_sqs-elastic:progress'
    }
  },
  Queue {
    name: 'white-label_admin-panel_sqs-coupons',
    token: '6403e735-9182-4ba7-a822-7d07a50dfb3a',
    keyPrefix: 'bull',
    clients: [ [Redis] ],
    clientInitialized: true,
    _events: [Object: null prototype] {
      close: [Function],
      error: [Function (anonymous)]
    },
    _eventsCount: 2,
    _initializing: Promise { <pending> },
    handlers: {},
    processing: [],
    retrieving: 0,
    drained: true,
    settings: {
      lockDuration: 30000,
      stalledInterval: 30000,
      maxStalledCount: 1,
      guardInterval: 5000,
      retryProcessDelay: 5000,
      drainDelay: 5,
      backoffStrategies: {},
      lockRenewTime: 15000
    },
    timers: TimerManager { idle: true, listeners: [], timers: {} },
    moveUnlockedJobsToWait: [Function: bound ],
    processJob: [Function: bound ],
    getJobFromId: [Function: bound ],
    keys: {
      '': 'bull:white-label_admin-panel_sqs-coupons:',
      active: 'bull:white-label_admin-panel_sqs-coupons:active',
      wait: 'bull:white-label_admin-panel_sqs-coupons:wait',
      waiting: 'bull:white-label_admin-panel_sqs-coupons:waiting',
      paused: 'bull:white-label_admin-panel_sqs-coupons:paused',
      resumed: 'bull:white-label_admin-panel_sqs-coupons:resumed',
      'meta-paused': 'bull:white-label_admin-panel_sqs-coupons:meta-paused',
      id: 'bull:white-label_admin-panel_sqs-coupons:id',
      delayed: 'bull:white-label_admin-panel_sqs-coupons:delayed',
      priority: 'bull:white-label_admin-panel_sqs-coupons:priority',
      'stalled-check': 'bull:white-label_admin-panel_sqs-coupons:stalled-check',
      completed: 'bull:white-label_admin-panel_sqs-coupons:completed',
      failed: 'bull:white-label_admin-panel_sqs-coupons:failed',
      stalled: 'bull:white-label_admin-panel_sqs-coupons:stalled',
      repeat: 'bull:white-label_admin-panel_sqs-coupons:repeat',
      limiter: 'bull:white-label_admin-panel_sqs-coupons:limiter',
      drained: 'bull:white-label_admin-panel_sqs-coupons:drained',
      progress: 'bull:white-label_admin-panel_sqs-coupons:progress'
    }
  },
  Queue {
    name: 'white-label_admin-panel_documnetor-coupons',
    token: '82f2e51c-4f04-4cac-8322-9bfaf492b188',
    keyPrefix: 'bull',
    clients: [ [Redis] ],
    clientInitialized: true,
    _events: [Object: null prototype] {
      close: [Function],
      error: [Function (anonymous)]
    },
    _eventsCount: 2,
    _initializing: Promise { <pending> },
    handlers: {},
    processing: [],
    retrieving: 0,
    drained: true,
    settings: {
      lockDuration: 30000,
      stalledInterval: 30000,
      maxStalledCount: 1,
      guardInterval: 5000,
      retryProcessDelay: 5000,
      drainDelay: 5,
      backoffStrategies: {},
      lockRenewTime: 15000
    },
    timers: TimerManager { idle: true, listeners: [], timers: {} },
    moveUnlockedJobsToWait: [Function: bound ],
    processJob: [Function: bound ],
    getJobFromId: [Function: bound ],
    keys: {
      '': 'bull:white-label_admin-panel_documnetor-coupons:',
      active: 'bull:white-label_admin-panel_documnetor-coupons:active',
      wait: 'bull:white-label_admin-panel_documnetor-coupons:wait',
      waiting: 'bull:white-label_admin-panel_documnetor-coupons:waiting',
      paused: 'bull:white-label_admin-panel_documnetor-coupons:paused',
      resumed: 'bull:white-label_admin-panel_documnetor-coupons:resumed',
      'meta-paused': 'bull:white-label_admin-panel_documnetor-coupons:meta-paused',
      id: 'bull:white-label_admin-panel_documnetor-coupons:id',
      delayed: 'bull:white-label_admin-panel_documnetor-coupons:delayed',
      priority: 'bull:white-label_admin-panel_documnetor-coupons:priority',
      'stalled-check': 'bull:white-label_admin-panel_documnetor-coupons:stalled-check',
      completed: 'bull:white-label_admin-panel_documnetor-coupons:completed',
      failed: 'bull:white-label_admin-panel_documnetor-coupons:failed',
      stalled: 'bull:white-label_admin-panel_documnetor-coupons:stalled',
      repeat: 'bull:white-label_admin-panel_documnetor-coupons:repeat',
      limiter: 'bull:white-label_admin-panel_documnetor-coupons:limiter',
      drained: 'bull:white-label_admin-panel_documnetor-coupons:drained',
      progress: 'bull:white-label_admin-panel_documnetor-coupons:progress'
    }
  },
  Queue {
    name: 'white-label_admin-panel_documnetor-finance',
    token: '40cddff2-815f-4d2f-8c14-e36b3b6cfedc',
    keyPrefix: 'bull',
    clients: [ [Redis] ],
    clientInitialized: true,
    _events: [Object: null prototype] {
      close: [Function],
      error: [Function (anonymous)]
    },
    _eventsCount: 2,
    _initializing: Promise { <pending> },
    handlers: {},
    processing: [],
    retrieving: 0,
    drained: true,
    settings: {
      lockDuration: 30000,
      stalledInterval: 30000,
      maxStalledCount: 1,
      guardInterval: 5000,
      retryProcessDelay: 5000,
      drainDelay: 5,
      backoffStrategies: {},
      lockRenewTime: 15000
    },
    timers: TimerManager { idle: true, listeners: [], timers: {} },
    moveUnlockedJobsToWait: [Function: bound ],
    processJob: [Function: bound ],
    getJobFromId: [Function: bound ],
    keys: {
      '': 'bull:white-label_admin-panel_documnetor-finance:',
      active: 'bull:white-label_admin-panel_documnetor-finance:active',
      wait: 'bull:white-label_admin-panel_documnetor-finance:wait',
      waiting: 'bull:white-label_admin-panel_documnetor-finance:waiting',
      paused: 'bull:white-label_admin-panel_documnetor-finance:paused',
      resumed: 'bull:white-label_admin-panel_documnetor-finance:resumed',
      'meta-paused': 'bull:white-label_admin-panel_documnetor-finance:meta-paused',
      id: 'bull:white-label_admin-panel_documnetor-finance:id',
      delayed: 'bull:white-label_admin-panel_documnetor-finance:delayed',
      priority: 'bull:white-label_admin-panel_documnetor-finance:priority',
      'stalled-check': 'bull:white-label_admin-panel_documnetor-finance:stalled-check',
      completed: 'bull:white-label_admin-panel_documnetor-finance:completed',
      failed: 'bull:white-label_admin-panel_documnetor-finance:failed',
      stalled: 'bull:white-label_admin-panel_documnetor-finance:stalled',
      repeat: 'bull:white-label_admin-panel_documnetor-finance:repeat',
      limiter: 'bull:white-label_admin-panel_documnetor-finance:limiter',
      drained: 'bull:white-label_admin-panel_documnetor-finance:drained',
      progress: 'bull:white-label_admin-panel_documnetor-finance:progress'
    }
  }
]

It's really strange, UI is working fine

image

from bull-master.

zimiovid avatar zimiovid commented on June 15, 2024

Sorry, it was my mistake, all work fine!)))

Was: white-label_admin-panel_documnetor
Need: white-label_admin-panel_documentor

from bull-master.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.