mizuno 0.6.8 → 0.6.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mizuno/server.rb +1 -1
- data/lib/mizuno/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c4f01f4e0e47b9fd03e1bc0272abb159daa9a845
|
4
|
+
data.tar.gz: d84876c95cdc91b04cf88b7b401749580129e5d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 455e59dd80ce972fec878d8e09589707344bf57db915a306cface7d0c925a7a341326b50f726c3ab4e7403a62222f522e41f828cbf66ac9658624d76c26666a1
|
7
|
+
data.tar.gz: 814dbd3682408037ca6ecc0db22f8fcba998fa77717c28a26bbf1588bcccf92e159e2cf9af4a74e9f3f8609fc258b9b31a483b51f9e02b4ed1275a2664d44ac7
|
data/lib/mizuno/server.rb
CHANGED
@@ -72,7 +72,7 @@ module Mizuno
|
|
72
72
|
# Thread pool
|
73
73
|
threads = options[:threads] || 50
|
74
74
|
thread_pool = QueuedThreadPool.new
|
75
|
-
thread_pool.min_threads = [ threads.to_i / 10, 5 ].max
|
75
|
+
thread_pool.min_threads = options.fetch(:min_threads, [ threads.to_i / 10, 5 ].max)
|
76
76
|
thread_pool.max_threads = [ threads.to_i, 10 ].max
|
77
77
|
@server.set_thread_pool(thread_pool)
|
78
78
|
|
data/lib/mizuno/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mizuno
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Don Werve
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-04-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|