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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5e3eb9bfc5b43669183d7b65568816e70373cac9
4
- data.tar.gz: f0a68e216fd9a79e48a158f2363010095d240c90
3
+ metadata.gz: c4f01f4e0e47b9fd03e1bc0272abb159daa9a845
4
+ data.tar.gz: d84876c95cdc91b04cf88b7b401749580129e5d4
5
5
  SHA512:
6
- metadata.gz: 6aeb6069df413ee2f36831d796a8e6e6041e95a4a46d58b2c9b2d787a9a4636cd433df2d529810ed05ebcecfbee90494b0f8d8b21aaacb74870f8fe897828c95
7
- data.tar.gz: bea624f1db31970212852e6e3611b16016f04b38838bb210d5be044190a767a3a8114b204ccb58b4201e875962770ec22702590fe21bd33e4921a30def5d861d
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
 
@@ -1,3 +1,3 @@
1
1
  module Mizuno
2
- VERSION = "0.6.8"
2
+ VERSION = "0.6.9"
3
3
  end
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.8
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: 2014-08-13 00:00:00.000000000 Z
11
+ date: 2015-04-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack