Class: Falqon::CLI::Revive

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

Overview

Revive queue (move dead messages to pending)

This command moves all messages from the dead queue back to the pending queue (in order). It is useful when messages are moved to the dead queue due to repeated failures, and need to be retried.

Usage:

falqon revive -q, --queue=QUEUE

Options:

-q, --queue=QUEUE  # Queue name

Examples:

Revive the queue

$ falqon revive --queue jobs
Revived 3 messages in queue jobs