in lib/functions_framework/server.rb [286:289]
def max_threads= max_threads @max_threads = (max_threads || ::ENV["FUNCTION_MAX_THREADS"])&.to_i end