sidekiq-limit_fetch 3.3.0 → 3.3.1

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
  SHA1:
3
- metadata.gz: e3cffb46d9e10cd316b080cef7fbdee888d65b7a
4
- data.tar.gz: 0a944880dee77b36ad0416578c1f8f00058004c5
3
+ metadata.gz: c949366fce8ef0a1f51ccef3973bded9c94c639a
4
+ data.tar.gz: c85ead7127f04b16efa8e50459bb0943b876762c
5
5
  SHA512:
6
- metadata.gz: e2cb38b4b8b35761c10150975aa0d15396b3c7885d0f02299ef8e7cf977162fcc4145c11b565a404e724ceaebb2d78e9dd392bd834776b846aaf1f5df192128b
7
- data.tar.gz: 454b3e24b94f167245a416528d70867c3917dd41fd69669492bb2e47d41aa0d04aba854300da84f8a5e2d706b6e8272ec4dac87a37e44bbe14f67fe6d895022d
6
+ metadata.gz: 8204753f854ed3af8a6e05884fb739079059c0c9723c25daf8b7206b832ebfc92afd3197f42a19ba92da5bf1c3327e01955277ff12a993b0d1f5346bd100a410
7
+ data.tar.gz: 26e0d3c81fc68942382d8d55f15e3fa018603afd788610d4bf1c294bf957f3c7dd70975bdbf5663b3aa90ab4da2381938eebd90bb77b12aec72c8682a323de3f
@@ -46,7 +46,7 @@ module Sidekiq::LimitFetch
46
46
  sleep TIMEOUT # there are no queues to handle, so lets sleep
47
47
  [] # and return nothing
48
48
  else
49
- Sidekiq.redis { |it| it.brpop *queues, TIMEOUT }
49
+ redis_retryable { Sidekiq.redis { |it| it.brpop *queues, TIMEOUT } }
50
50
  end
51
51
  end
52
52
  end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |gem|
2
2
  gem.name = 'sidekiq-limit_fetch'
3
- gem.version = '3.3.0'
3
+ gem.version = '3.3.1'
4
4
  gem.license = 'MIT'
5
5
  gem.authors = 'brainopia'
6
6
  gem.email = 'brainopia@evilmartians.com'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sidekiq-limit_fetch
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.0
4
+ version: 3.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - brainopia
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-18 00:00:00.000000000 Z
11
+ date: 2016-10-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sidekiq
@@ -17,13 +17,13 @@ dependencies:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '4'
20
+ type: :runtime
21
+ prerelease: false
20
22
  version_requirements: !ruby/object:Gem::Requirement
21
23
  requirements:
22
24
  - - ">="
23
25
  - !ruby/object:Gem::Version
24
26
  version: '4'
25
- prerelease: false
26
- type: :runtime
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: redis-namespace
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -34,6 +34,8 @@ dependencies:
34
34
  - - ">="
35
35
  - !ruby/object:Gem::Version
36
36
  version: 1.5.2
37
+ type: :development
38
+ prerelease: false
37
39
  version_requirements: !ruby/object:Gem::Requirement
38
40
  requirements:
39
41
  - - "~>"
@@ -42,8 +44,6 @@ dependencies:
42
44
  - - ">="
43
45
  - !ruby/object:Gem::Version
44
46
  version: 1.5.2
45
- prerelease: false
46
- type: :development
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rspec
49
49
  requirement: !ruby/object:Gem::Requirement
@@ -51,13 +51,13 @@ dependencies:
51
51
  - - ">="
52
52
  - !ruby/object:Gem::Version
53
53
  version: '0'
54
+ type: :development
55
+ prerelease: false
54
56
  version_requirements: !ruby/object:Gem::Requirement
55
57
  requirements:
56
58
  - - ">="
57
59
  - !ruby/object:Gem::Version
58
60
  version: '0'
59
- prerelease: false
60
- type: :development
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: rake
63
63
  requirement: !ruby/object:Gem::Requirement
@@ -65,13 +65,13 @@ dependencies:
65
65
  - - ">="
66
66
  - !ruby/object:Gem::Version
67
67
  version: '0'
68
+ type: :development
69
+ prerelease: false
68
70
  version_requirements: !ruby/object:Gem::Requirement
69
71
  requirements:
70
72
  - - ">="
71
73
  - !ruby/object:Gem::Version
72
74
  version: '0'
73
- prerelease: false
74
- type: :development
75
75
  description: |2
76
76
  Sidekiq strategy to restrict number of workers
77
77
  which are able to run specified queues simultaneously.
@@ -121,7 +121,7 @@ homepage: https://github.com/brainopia/sidekiq-limit_fetch
121
121
  licenses:
122
122
  - MIT
123
123
  metadata: {}
124
- post_install_message:
124
+ post_install_message:
125
125
  rdoc_options: []
126
126
  require_paths:
127
127
  - lib
@@ -136,9 +136,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
136
136
  - !ruby/object:Gem::Version
137
137
  version: '0'
138
138
  requirements: []
139
- rubyforge_project:
140
- rubygems_version: 2.6.4
141
- signing_key:
139
+ rubyforge_project:
140
+ rubygems_version: 2.5.1
141
+ signing_key:
142
142
  specification_version: 4
143
143
  summary: Sidekiq strategy to support queue limits
144
144
  test_files: