Exq.Api.queue_size

You're seeing just the function queue_size, go back to Exq.Api module for more information.

A count of the number of jobs in the queue, for each queue.

Expected args:

  • pid - Exq.Api process

Returns:

  • {:ok, [{queue, num_jobs}, {queue, num_jobs}]}

A count of the number of jobs in the queue, for a provided queue.

Expected args:

  • pid - Exq.Api process
  • queue - The name of the queue to find the number of jobs for

Returns:

  • {:ok, num_jobs}