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 7216589 commit 8cc3cc1Copy full SHA for 8cc3cc1
frameworks/Ruby/hanami/config/auto_tune.rb
frameworks/Ruby/hanami/config/puma.rb
@@ -1,10 +1,4 @@
1
# frozen_string_literal: true
2
-require_relative 'auto_tune'
3
-
4
-# FWBM only... use the puma_auto_tune gem in production!
5
-num_workers, num_threads = auto_tune
6
7
-workers num_workers
8
threads 3, 3
9
10
port ENV.fetch("HANAMI_PORT", 2300)
frameworks/Ruby/hanami/hanami.dockerfile
@@ -1,6 +1,7 @@
FROM ruby:3.4
ENV RUBY_YJIT_ENABLE=1
+ENV WEB_CONCURRENCY=auto
# Use Jemalloc
RUN apt-get update && \
0 commit comments