Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 614 Bytes

instructions.md

File metadata and controls

29 lines (21 loc) · 614 Bytes

Registering provider

Like any other provider, you need to register the provider inside start/app.js file.

const providers = [
  ...
  'adonisjs-queue/providers/QueueProvider',
  'adonisjs-queue/providers/JobProvider'
]

Also, you need to register the provider for job commands via ace inside the same start/app.js file.

const aceProviders = [
  ...
  'adonisjs-queue/providers/JobCommandsProvider'
]

Config

The configuration is saved inside config/queue.js file. Tweak it accordingly.

Docs

To find out more, read the docs here.