unicorn 5.5.4 → 5.5.5

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: 67fce6dee5ff186d34900c6d95f974e225f51811102623e1f343cfbff700dde2
4
- data.tar.gz: ef054e9c76e847ec2d3d9300ea95352da1df2e1e78f5525c02dac920d0d04ddf
3
+ metadata.gz: f965b97839a0a17b9df6cf014ca2780d0523a794c5c63be4f9d05973de588826
4
+ data.tar.gz: 36152775b38d84fb2fd3e720ff248012914b59ec4bbcbb0589122dde2ea34a50
5
5
  SHA512:
6
- metadata.gz: cd4c2ad09a0f315cb43a8ba8c229df23b52c4356d76a69818e2a56503022654a063070a69306a7853b6bedecc8552cc881e1e2c7e916ecc3de80c11125a973f1
7
- data.tar.gz: c83258e4ed3534bae563c7b9dab30e1f3001982bff24a2d6e2d6c3925e01d0aa6ccfe3538ae9895a1bf49e1f9cba977b3e2a60533571605694315be35eec8d6f
6
+ metadata.gz: 1d9115ad5b084f5fdf710038412988892691248c0e5e05bde3230c6381adef090f53c30e4b3ad00d0de6f3467007c1acc962cd9cb836f28727690a2bf12d8466
7
+ data.tar.gz: 2db26ec37e81e4c1d4a549751c74a280f4304df9dfd9e13d1be40792648808d6b45b48f57c9d4460dbe7ba2b45b9a05c51c30ea73a54b9b1f004089c9992bb34
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
- DEF_VER = "v5.5.4"
2
+ DEF_VER = "v5.5.5"
3
3
  CONSTANT = "Unicorn::Const::UNICORN_VERSION"
4
4
  RVF = "lib/unicorn/version.rb"
5
5
  GVF = "GIT-VERSION-FILE"
@@ -686,6 +686,7 @@ def worker_loop(worker)
686
686
  trap(:USR1) { nr = -65536 }
687
687
 
688
688
  ready = readers.dup
689
+ nr_listeners = readers.size
689
690
  @after_worker_ready.call(self, worker)
690
691
 
691
692
  begin
@@ -708,7 +709,7 @@ def worker_loop(worker)
708
709
  # we're probably reasonably busy, so avoid calling select()
709
710
  # and do a speculative non-blocking accept() on ready listeners
710
711
  # before we sleep again in select().
711
- unless nr == 0
712
+ if nr == nr_listeners
712
713
  tmp = ready.dup
713
714
  redo
714
715
  end
@@ -11,7 +11,7 @@
11
11
 
12
12
  Gem::Specification.new do |s|
13
13
  s.name = %q{unicorn}
14
- s.version = (ENV['VERSION'] || '5.5.4').dup
14
+ s.version = (ENV['VERSION'] || '5.5.5').dup
15
15
  s.authors = ['unicorn hackers']
16
16
  s.summary = 'Rack HTTP server for fast clients and Unix'
17
17
  s.description = File.read('README').split("\n\n")[1]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unicorn
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.5.4
4
+ version: 5.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - unicorn hackers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-24 00:00:00.000000000 Z
11
+ date: 2020-04-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack