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 +4 -4
- data/lib/sidekiq/throttled/queues_pauser.rb +2 -1
- data/lib/sidekiq/throttled/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e6c32e77b9ca7aa1dd0bdad2b74c6fa795f4f660b5d7e7a8f92b16f6b419112e
|
4
|
+
data.tar.gz: 8d8b4ca63ae59d184846e297fc6281f3b67f282b4f546d1ada0a002e84f65232
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
59
|
+
@communicator.ready { sync! }
|
59
60
|
end
|
60
61
|
end
|
61
62
|
|
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.
|
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-
|
11
|
+
date: 2018-09-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: concurrent-ruby
|