Socket
Book a DemoInstallSign in
Socket

exel-sidekiq

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

exel-sidekiq

1.0.3
bundlerRubygems
Version published
Maintainers
1
Created
Source

EXEL::Sidekiq

Gem Version Build Status

This gem adds Sidekiq support for EXEL's async command.

Installation

Add this line to your application's Gemfile:

gem 'exel-sidekiq'

And then execute:

$ bundle

Or install it yourself as:

$ gem install exel-sidekiq

Usage

By requiring this gem, Sidekiq support will automatically be added to EXEL. Any calls to async will enqueue a worker to run the given block. If you wish to use a queue other than default, you may specify its name in the options passed to async. The retry limit can also be set, as in the following example:

async queue: :my_queue, retry: 3 do
    process with: MyProcessor
end

You can optionally provide a string in context[:async_label] which will be passed to the Sidekiq worker. This is intended to be a human readable label that will be visible on the Sidekiq admin pages to assist in debugging and monitoring your jobs.

Contributing

  • Fork it ( https://github.com/47colborne/exel-sidekiq )
  • Create your feature branch (git checkout -b my-new-feature)
  • Commit your changes (git commit -am 'Add some feature')
  • Push to the branch (git push origin my-new-feature)
  • Create a new Pull Request

FAQs

Package last updated on 07 Feb 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.