NO LONGER MAINTAINED Recurring jobs for Sidekiq
Go to file
Simon Fröhler 7bec408416 Makes Sidekiq compatible to Sidekiq 3.5.0 and Celluloid 0.17
Fixes "uninitialized constant Celluloid::SupervisionGroup" error on sidekiq start:

* require 'celluloid' instead of 'celluloid/current' in lib/sidetiq.rb
* Supervisor inherits from Celluloid::Supervision::Container instead
  of Celluloid::SupervisionGroup and uses new supervise method signature

More details about the changes in Celluloid can be found here:
https://github.com/celluloid/celluloid/wiki/DEPRECATION-WARNING

Fixes tests to work with Sidekiq 3.5.0:

* Use created_at instead of enqueued_at it the tests:
  > Set a created_at attribute when jobs are created, set enqueued_at only
    when they go into a queue. Fixes invalid latency calculations with
    scheduled jobs. [#2373, mrsimo]

  https://github.com/mperham/sidekiq/blob/master/Changes.md#340

* Set ENV['RACK_ENV'] = 'test' in test/helper.rb to fix tests to fix tests
  to work with Sidekiq 3.4.2 update:
  > Fix CSRF vulnerability in Web UI, thanks to Egor Homakov for reporting. [#2422]

  https://github.com/mperham/sidekiq/blob/master/Changes.md#342
  https://github.com/mperham/sidekiq/pull/2422/files

fixes #140
2015-09-08 15:45:17 +02:00
examples Makes Sidekiq compatible to Sidekiq 3.5.0 and Celluloid 0.17 2015-09-08 15:45:17 +02:00
lib Makes Sidekiq compatible to Sidekiq 3.5.0 and Celluloid 0.17 2015-09-08 15:45:17 +02:00
tasks Move Rake tasks into subfolder. 2013-09-16 16:24:13 +01:00
test Makes Sidekiq compatible to Sidekiq 3.5.0 and Celluloid 0.17 2015-09-08 15:45:17 +02:00
.gitignore Add dump.rdb to .gitignore. 2013-03-11 10:52:45 +00:00
.travis.yml Remove Ruby 1.9.3 from travis.yml. 2014-09-22 12:33:55 +01:00
CHANGELOG.md Update CHANGELOG. 2014-09-24 09:55:12 +01:00
Gemfile Move development dependencies from Gemfile to gemspec. 2013-08-27 11:41:42 +01:00
LICENSE Fix licensing info. 2013-09-16 12:04:38 +01:00
README.md fix tiny README typo 2013-09-20 10:57:59 +09:00
Rakefile Move Rake tasks into subfolder. 2013-09-16 16:24:13 +01:00
sidetiq.gemspec Merge pull request #106 from nkondratyev/fix_working_with_prefork_servers 2014-09-22 12:24:45 +01:00

README.md

Sidetiq

Build Status Dependency Status Coverage Status Code Climate

Recurring jobs for Sidekiq.

Overview

Sidetiq provides a simple API for defining recurring workers for Sidekiq.

  • Concurrency and fault-tolerance using Celluloid actors.

  • Flexible DSL based on ice_cube.

  • Distributed, Redis-based locking to synchronize multiple Sidetiq processes.

  • Web extension with extensive monitoring of recurring jobs.

  • Sidetiq runs in your Sidekiq processes. No extra resources required.

Usage

Please see the Sidetiq wiki for more detailed documentation and usage notes.

License

Sidetiq is released under the 3-clause BSD. See LICENSE for further details.

Author

Tobias Svensson, @tobiassvn, http://github.com/tobiassvn