1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

Fix error message in DSL that was slightly inaccurate

An equal number of min and max threads is fine by the code around this
message.
This commit is contained in:
Chris Schneider 2015-10-13 09:30:42 -06:00
parent 264dc0583c
commit dbe952aea2

View file

@ -132,7 +132,7 @@ module Puma
min = Integer(min)
max = Integer(max)
if min > max
raise "The minimum (#{min}) number of threads must be less than the max (#{max})"
raise "The minimum (#{min}) number of threads must be less than or equal to the max (#{max})"
end
@options[:min_threads] = min