Skip to content

Commit

Permalink
feat(bull): adding bull in example
Browse files Browse the repository at this point in the history
  • Loading branch information
roggervalf committed Mar 2, 2021
1 parent f11ec1f commit da1ad97
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions example/index.js
@@ -1,5 +1,6 @@
const Arena = require('../');
const Bee = require('bee-queue');
// const Bull = require('bull');
const RedisServer = require('redis-server');

// Select ports that are unlikely to be used by other services a developer might be running locally.
Expand All @@ -15,6 +16,7 @@ async function main() {
Arena(
{
Bee,
// Bull,

queues: [
{
Expand All @@ -26,6 +28,7 @@ async function main() {

// Queue type (Bull or Bee - default Bull).
type: 'bee',
// type: 'bull',

redis: {
// host: 'localhost',
Expand Down
1 change: 1 addition & 0 deletions example/package.json
Expand Up @@ -11,6 +11,7 @@
"license": "MIT",
"dependencies": {
"bee-queue": "^1.3.1",
"bull": "^3.20.1",
"express": "^4.17.1",
"redis-server": "^1.2.2"
}
Expand Down

0 comments on commit da1ad97

Please sign in to comment.