Class: Falqon::CLI::Refill

Inherits:
Base
  • Object
show all
Defined in:
lib/falqon/cli/refill.rb

Overview

Refill queue (move processing messages to pending)

This command moves all messages from the processing queue back to the pending queue (in order). It is useful when a worker crashes or is stopped, and messages are left in the processing queue.

Usage:

falqon refill -q, --queue=QUEUE

Options:

-q, --queue=QUEUE  # Queue name

Examples:

Refill the queue

$ falqon refill --queue jobs
Refilled 3 messages in queue jobs