Method: FunctionsFramework::Server::Config#min_threads=
- Defined in:
- lib/functions_framework/server.rb
#min_threads=(min_threads) ⇒ Object
Set the minimum number of worker threads, or nil
to use the default.
279 280 281 |
# File 'lib/functions_framework/server.rb', line 279 def min_threads= min_threads @min_threads = (min_threads || ::ENV["FUNCTION_MIN_THREADS"])&.to_i end |