sidekiq-batching 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sidekiq/batching/actor.rb +1 -1
- data/lib/sidekiq/batching/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: b41e2102a596f97cf7dbc3e6a078c12d41085a66
|
4
|
+
data.tar.gz: 4d5563a28bf4b753ff984ee58172bbfce43938f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ea999d0b2ecb210c0e8bfe62fbce383156da92f9ec117c5a1b7382f56ee87f71b63938db59f64c9b6c4c6a869d55816320747ae286a01129ac5323de89107af
|
7
|
+
data.tar.gz: 363c5fa098b66647c6ef60da7277d589f3767bb8afc1bfef394ce0a7574a85fd68eebba8998b9f5240b1d437306eb25fe9419bc5961ae639001f9e8b3cdb882e
|
@@ -6,7 +6,6 @@ module Sidekiq
|
|
6
6
|
|
7
7
|
def initialize
|
8
8
|
link_to_sidekiq_manager
|
9
|
-
start_polling
|
10
9
|
end
|
11
10
|
|
12
11
|
private
|
@@ -30,6 +29,7 @@ module Sidekiq
|
|
30
29
|
|
31
30
|
def link_to_sidekiq_manager
|
32
31
|
Sidekiq::CLI.instance.launcher.manager.link(current_actor)
|
32
|
+
start_polling
|
33
33
|
rescue NoMethodError
|
34
34
|
debug "Can't link #{self.class.name}. Sidekiq::Manager not running. Retrying in 5 seconds ..."
|
35
35
|
after(5) { link_to_sidekiq_manager }
|