sidekiq-throttled 0.10.0.alpha → 0.10.0.beta

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 83591901b017e382b25575720fab1bbcc45ac9e81acec417da1a10cbfa333613
4
- data.tar.gz: 1a135a2b18d51b644f7713cdd1d2bcad6ffe34b87ca93b11aa1336e2e1b91a8b
3
+ metadata.gz: e6c32e77b9ca7aa1dd0bdad2b74c6fa795f4f660b5d7e7a8f92b16f6b419112e
4
+ data.tar.gz: 8d8b4ca63ae59d184846e297fc6281f3b67f282b4f546d1ada0a002e84f65232
5
5
  SHA512:
6
- metadata.gz: 594b29b269f4b8c2351adf7f835cad04d974794ef596fdcd5492202c4e4f6af5d1a06b7ec67baf15a6d393aa2a60093cc7a536f87c8260f3681b25a817d94990
7
- data.tar.gz: d4e9d76b8627c86ee7e399e563d7c9ce8bdbabc40444349a88ce88ea3bec136974505feb9b49d905bf47fc9aaf233270e9637ebca027d533e589ca93cc6cb2f5
6
+ metadata.gz: 24159823a56f6765079ebb27b16b2a2288950a4bab13f628f2d48bd45939400c29d2c640db5af69dd2320e5b973d0a5afeda15cceb457fe90db1b69f8f81fa53
7
+ data.tar.gz: 60c65d079962a86fdd02787d1ff2262ace7a31c16a751835038f9d06031f5af8d3d1bb65ec2bfd97ccf542a83cfa97da0ea2a1a70b8993c6793c8bf50fb2ab64
@@ -2,6 +2,7 @@
2
2
 
3
3
  require "set"
4
4
  require "singleton"
5
+ require "concurrent/timer_task"
5
6
 
6
7
  require "sidekiq/throttled/patches/queue"
7
8
  require "sidekiq/throttled/communicator"
@@ -55,7 +56,7 @@ module Sidekiq
55
56
 
56
57
  @communicator.receive(PAUSE_MESSAGE, &method(:add))
57
58
  @communicator.receive(RESUME_MESSAGE, &method(:delete))
58
- @communicator.ready(&method(:sync!))
59
+ @communicator.ready { sync! }
59
60
  end
60
61
  end
61
62
 
@@ -3,6 +3,6 @@
3
3
  module Sidekiq
4
4
  module Throttled
5
5
  # Gem version
6
- VERSION = "0.10.0.alpha"
6
+ VERSION = "0.10.0.beta"
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sidekiq-throttled
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0.alpha
4
+ version: 0.10.0.beta
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexey V Zapparov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-09-21 00:00:00.000000000 Z
11
+ date: 2018-09-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby