Skip to content
This repository was archived by the owner on Feb 21, 2026. It is now read-only.

Repository files navigation

Resque::Plugins::EnqueueLogging

A lightweight Resque plugin to log whenever a job is enqueued. Super handy for debugging! 😄

Gem VersionCode Climate

Installation

Add to your Gemfile:

gem "resque-enqueue-logging"

Usage

Just extend Resque::Plugins::EnqueueLogging and all the hooks will be set up.

classSortUserJobextendResque::Plugins::EnqueueLogging@queue=:lowdefperform(user_id,options={})# do hard workendendResque.enqueueSortUserJob,1,:force=>true

In the logfile:

Enqueued SortUserJob to "low": user_id=1, options={"force"=>true}

TODO

  • Add tests
  • Add CI configuration (and test coverage badge)

About

Log whenever a new job is enqueued

Resources

Stars

2 stars

Watchers

6 watching

Forks

Releases

Packages

Used by

Contributors

Languages