sidetiq 0.4.0.rc1 → 0.4.0.rc2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +1 -0
- data/examples/server.rb +0 -4
- data/lib/sidetiq/actor/clock.rb +12 -3
- data/lib/sidetiq/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 456f6b922646c7e198b83f34b299e07f984a6c0f
|
4
|
+
data.tar.gz: 3401166967dab3170b26f961147d014950e68dfe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34d95105066f87aa9736bf3e4e454df16cf065f841051809f60e5f3aa1123d750fcaa317c545d6344ad6cfcb3ad199b987cb52a2ebf3ae21794ce13910485242
|
7
|
+
data.tar.gz: de936682d4191d86e36e94439f97d2ce549ddd671b793eca78f1d39b33462c6e8373513cf66ec8f7b7ce5f90dcf1378b43a513745c56a61b4f50070916ffa405
|
data/CHANGELOG.md
CHANGED
data/examples/server.rb
CHANGED
data/lib/sidetiq/actor/clock.rb
CHANGED
@@ -4,10 +4,19 @@ module Sidetiq
|
|
4
4
|
include Sidetiq::Actor
|
5
5
|
include Sidekiq::ExceptionHandler
|
6
6
|
|
7
|
-
|
7
|
+
def initialize(*args, &block)
|
8
|
+
super
|
9
|
+
|
10
|
+
if Sidekiq.server?
|
11
|
+
after(0) do
|
12
|
+
debug "Sidetiq::Clock looping ..."
|
13
|
+
loop!
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
8
18
|
def start!
|
9
|
-
|
10
|
-
loop!
|
19
|
+
warn "Sidetiq::Clock#start! is deprecated. Calling it is no longer required."
|
11
20
|
end
|
12
21
|
|
13
22
|
private
|
data/lib/sidetiq/version.rb
CHANGED