Skip to content

Commit 609d32e

Browse files
authored
fix!: Servers are configured as single-threaded in production by default
1 parent 884cdfe commit 609d32e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/functions_framework/server.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ def min_threads
306306
# @return [Integer]
307307
#
308308
def max_threads
309-
@max_threads || (@rack_env == "development" ? 1 : 16)
309+
@max_threads || 1
310310
end
311311

312312
##

0 commit comments

Comments
 (0)