unicorn-camilo 4.8.2.5.11 → 4.8.2.5.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/GIT-VERSION-FILE +1 -1
- data/lib/unicorn/http_server.rb +3 -3
- data/lib/unicorn/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1cc3e2c2de85496f57ad151c86e1b0b61ab5061d
|
|
4
|
+
data.tar.gz: 43cdf6879f840cfeaa5e852d1120bcc187985578
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4d450f24fd825ed26c985d5cbda8c13ae4207f13ab8b5864e64f202d8f48b6d975916978f7cc6023c4e9689b1bb4236df8267b001d26cf11f99c18f3e8958587
|
|
7
|
+
data.tar.gz: 1b8ae95d83cd32ab917f5c0c491773a1f5208594a7128575a7b072d547af2debeea82c477045c8c80e816177a4e3a37c9459645e35c5988e94c34429d993089a
|
data/GIT-VERSION-FILE
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
GIT_VERSION = 4.8.2.5.
|
|
1
|
+
GIT_VERSION = 4.8.2.5.g97c3.dirty
|
data/lib/unicorn/http_server.rb
CHANGED
|
@@ -489,10 +489,10 @@ class Unicorn::HttpServer
|
|
|
489
489
|
next_sleep = 0
|
|
490
490
|
logger.error "worker=#{worker.nr} PID:#{wpid} timeout " \
|
|
491
491
|
"(#{diff}s > #{@timeout}s), killing"
|
|
492
|
-
kill_worker(:TERM,
|
|
492
|
+
kill_worker(:TERM, wpid)
|
|
493
493
|
fork do
|
|
494
494
|
sleep(0.5)
|
|
495
|
-
kill_worker(:KILL,
|
|
495
|
+
kill_worker(:KILL, wpid) # take no prisoners for timeout violations
|
|
496
496
|
end
|
|
497
497
|
end
|
|
498
498
|
next_sleep <= 0 ? 1 : next_sleep
|
|
@@ -610,7 +610,7 @@ class Unicorn::HttpServer
|
|
|
610
610
|
def init_worker_process(worker)
|
|
611
611
|
worker.atfork_child
|
|
612
612
|
# we'll re-trap :QUIT later for graceful shutdown iff we accept clients
|
|
613
|
-
EXIT_SIGS.each { |sig| trap(sig) {
|
|
613
|
+
EXIT_SIGS.each { |sig| trap(sig) { STDERR.puts(caller); exit!(0) } }
|
|
614
614
|
exit!(0) if (SIG_QUEUE & EXIT_SIGS)[0]
|
|
615
615
|
WORKER_QUEUE_SIGS.each { |sig| trap(sig, nil) }
|
|
616
616
|
trap(:CHLD, 'DEFAULT')
|
data/lib/unicorn/version.rb
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Unicorn::Const::UNICORN_VERSION = '4.8.2.5.
|
|
1
|
+
Unicorn::Const::UNICORN_VERSION = '4.8.2.5.g97c3.dirty'
|