Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bull
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 175
    • Issues 175
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 9
    • Merge requests 9
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OptimalBits
  • bull
  • Issues
  • #1025
Closed
Open
Issue created Aug 15, 2018 by Administrator@rootContributor

Support native Promise + ioredis v4

Created by: chaffeqa

Description

ioredis just released stable v4. Unless you use the Bluebird Promise switch, you run into an ambiguous error:

TypeError: scripts.updateDelaySet(...).then(...).return is not a function
    at node_modules/bull/lib/queue.js:374:18
    at runCallback (timers.js:693:18)
    at tryOnImmediate (timers.js:664:5)
    at processImmediate (timers.js:646:5)
    at process.topLevelDomainCallback (domain.js:121:23)
From previous event:
    at Queue._initProcess (node_modules/bull/lib/queue.js:362:8)

Minimal, Working Test code to reproduce the issue.

Any of the examples with "ioredis": "^4.0.0".

Bull version

3.4.6

Additional information

Assignee
Assign to
Time tracking