sidekiq-limit_fetch 2.2.6 → 2.2.7

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: 3c0479da5131161addd1ef6af0571a53ca390dcf
4
- data.tar.gz: 459b13c40b8f9cb0995f3f10263d04c68f49e5ff
3
+ metadata.gz: f52435a3183c00620d7608d66cb14abc322515bd
4
+ data.tar.gz: bcf1864897a35521852a9a65394a8f7779ff810d
5
5
  SHA512:
6
- metadata.gz: 48327d29718613bd20548592699c1dd7d01494dcbfbf6d9e60549f900363440f9191ea5820dfa59d0ffd11b97dce08bab7358ca8fd64fa1a10615b8fbf125ae7
7
- data.tar.gz: 33273f6d587a4bb5e432f212ef35b94f556a761785e1d85196420ec6177ecf2d26812efc0a00a6cfe13db67d305f555e9b99068053cc6e98f2c7e2b395d28eb9
6
+ metadata.gz: 3c0bc6f01d9899b2e9af4835f575e8ec687fb7d655a29ae62e9661807951cba194121afe3f0716e57b7fdb165e129ae6b4ab00f12cd230a2f6d70c047e2c0b6f
7
+ data.tar.gz: 2969c1b38d2cd6df5edfb74382bb983fe6abbb712d81e04b0d6751ffe09bd06bfada506845351dd98a8982ed27a6e2550d1579455af31fc8b7c7851b6d324b3a
data/README.md CHANGED
@@ -18,12 +18,6 @@ Add this line to your application's Gemfile:
18
18
 
19
19
  redis 2.6 or newer
20
20
 
21
- ```
22
- heroku uses redis 2.4 by default
23
- to update version you need to contact their support:
24
- https://devcenter.heroku.com/articles/redistogo#redis-2-6
25
- ```
26
-
27
21
  **Important note:** At this moment, `sidekiq-limit_fetch` is incompatible with Sidekiq Pro's `reliable_fetch`.
28
22
 
29
23
  https://github.com/mperham/sidekiq/issues/1508 — a sidekiq admin busy page is unreliable, so if you need to check how many workers are running a queue use a `#busy` method described below.
@@ -38,7 +38,7 @@ module Sidekiq::LimitFetch::Global
38
38
 
39
39
  def update_heartbeat(ttl)
40
40
  Sidekiq.redis do |it|
41
- it.pipelined do
41
+ it.multi do
42
42
  it.set heartbeat_key, true
43
43
  it.sadd PROCESS_SET, Selector.uuid
44
44
  it.expire heartbeat_key, ttl
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |gem|
2
2
  gem.name = 'sidekiq-limit_fetch'
3
- gem.version = '2.2.6'
3
+ gem.version = '2.2.7'
4
4
  gem.license = 'MIT'
5
5
  gem.authors = 'brainopia'
6
6
  gem.email = 'brainopia@evilmartians.com'
metadata CHANGED
@@ -1,61 +1,61 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sidekiq-limit_fetch
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.6
4
+ version: 2.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - brainopia
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-20 00:00:00.000000000 Z
11
+ date: 2014-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sidekiq
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 2.6.5
20
- - - <
20
+ - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: '4.0'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
- - - '>='
27
+ - - ">="
28
28
  - !ruby/object:Gem::Version
29
29
  version: 2.6.5
30
- - - <
30
+ - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: '4.0'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: rspec
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - '>='
37
+ - - ">="
38
38
  - !ruby/object:Gem::Version
39
39
  version: '0'
40
40
  type: :development
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
- - - '>='
44
+ - - ">="
45
45
  - !ruby/object:Gem::Version
46
46
  version: '0'
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rake
49
49
  requirement: !ruby/object:Gem::Requirement
50
50
  requirements:
51
- - - '>='
51
+ - - ">="
52
52
  - !ruby/object:Gem::Version
53
53
  version: '0'
54
54
  type: :development
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
- - - '>='
58
+ - - ">="
59
59
  - !ruby/object:Gem::Version
60
60
  version: '0'
61
61
  description: |2
@@ -66,8 +66,8 @@ executables: []
66
66
  extensions: []
67
67
  extra_rdoc_files: []
68
68
  files:
69
- - .gitignore
70
- - .travis.yml
69
+ - ".gitignore"
70
+ - ".travis.yml"
71
71
  - Gemfile
72
72
  - LICENSE.txt
73
73
  - README.md
@@ -112,17 +112,17 @@ require_paths:
112
112
  - lib
113
113
  required_ruby_version: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - '>='
115
+ - - ">="
116
116
  - !ruby/object:Gem::Version
117
117
  version: '0'
118
118
  required_rubygems_version: !ruby/object:Gem::Requirement
119
119
  requirements:
120
- - - '>='
120
+ - - ">="
121
121
  - !ruby/object:Gem::Version
122
122
  version: '0'
123
123
  requirements: []
124
124
  rubyforge_project:
125
- rubygems_version: 2.0.14
125
+ rubygems_version: 2.4.1
126
126
  signing_key:
127
127
  specification_version: 4
128
128
  summary: Sidekiq strategy to support queue limits
@@ -133,4 +133,3 @@ test_files:
133
133
  - spec/sidekiq/limit_fetch/semaphore_spec.rb
134
134
  - spec/sidekiq/limit_fetch_spec.rb
135
135
  - spec/spec_helper.rb
136
- has_rdoc: