1
0
Fork 0
mirror of https://github.com/endofunky/sidetiq.git synced 2022-11-09 13:53:30 -05:00
Commit graph

11 commits

Author SHA1 Message Date
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
Tobias Svensson
17b01b21e7 Don't require watcher.rb in example code. 2014-06-06 12:02:45 +01:00
Tobias Svensson
367814a2dd Add missing block to auto-boot the clock. 2013-09-17 14:56:33 +01:00
Tobias Svensson
7496a045d9 Add experimental stale lock watcher. 2013-09-17 11:55:06 +01:00
Tobias Svensson
4e009089ac Track worker execution history. 2013-09-16 14:48:51 +01:00
Tobias Svensson
d9b30f7cfe Setup example code to boot bot, sidekiq & web app. 2013-09-16 13:58:01 +01:00
Tobias Svensson
e0ebcaacd9 Move to actor-based concurrency.
Using plain threads in Sidekiq's Celluloid-based actor
model is a little bit like riding a motorcycle without
a helmet, so let's try to fit in a bit better.
2013-09-16 12:01:37 +01:00
Tobias Svensson
838517d388 Rename Sidekiq::Schedulable#tiq to #recurrence. 2013-07-12 10:33:57 +01:00
Tobias Svensson
5a1b2b125d Add configure_server block to example code. 2013-02-04 11:43:48 +00:00
Tobias Svensson
45bf3a24ba Add a quicker running example. 2013-02-01 17:39:38 +00:00
Tobias Svensson
08b76a3737 Initial commit. 2013-01-31 17:42:19 +00:00