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:
parent
264dc0583c
commit
dbe952aea2
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue