We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2661d4b commit a807ce8Copy full SHA for a807ce8
frameworks/Ruby/padrino/config/auto_tune.rb
@@ -9,7 +9,7 @@
9
MIN_WORKERS = 2
10
MAX_WORKERS_PER_VCPU = 1.25 # virtual/logical
11
MIN_THREADS_PER_WORKER = 1
12
-MAX_THREADS = Integer(ENV['MAX_CONCURRENCY'] || 8)
+MAX_THREADS = Integer(ENV['MAX_CONCURRENCY'] || 256)
13
14
def meminfo(arg)
15
File.open('/proc/meminfo') do |f|
frameworks/Ruby/padrino/padrino.dockerfile
@@ -16,4 +16,4 @@ EXPOSE 8080
16
17
ENV RUBY_YJIT_ENABLE=1
18
19
-CMD bundle exec puma -C config/puma.rb -w 8 --preload
+CMD bundle exec puma -C config/puma.rb
0 commit comments