BullMQ Proxy
  • What is BullMQ Proxy
  • Getting started
    • Architecture overview
    • Using Dragonfly
  • HTTP API
    • Authentication
    • Queues
      • Adding jobs
        • Retries
        • Delayed jobs
        • Prioritized
        • Repeatable
        • LIFO
        • Custom Job IDs
      • Getting jobs
      • Queue's actions
      • Reference
    • Workers
      • Endpoints
      • Adding workers
        • Concurrency
        • Rate-Limit
        • Removing finished jobs
        • Stalled jobs
        • Timeouts
      • Removing workers
      • Getting workers
      • Reference
    • Jobs
      • Jobs' actions
        • Update job progress
        • Add job logs
      • Reference
    • Configuration
    • Debugging
Powered by GitBook
On this page
  1. HTTP API
  2. Workers

Removing workers

BullMQ Proxy provides an endpoint to remove workers that are not needed anymore. The endpoint is simply /workers/:queue-name using "DELETE" as the http verb:

curl --location --request DELETE 'http://localhost:8080/workers/my-queue' \
--header 'Authorization: Bearer my-secret-token'

If the call succeeds, the worker will be removed from the proxy and will not process new jobs. Note that if the worker is already processing some jobs, the worker will close gracefully to avoid making any jobs stalled.

PreviousTimeoutsNextGetting workers

Last updated 1 year ago