diff --git a/Dockerfile b/Dockerfile index ba4be1c..5ed81fd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,4 +17,4 @@ RUN bundle install EXPOSE 4567 # Send it -CMD ["bundle", "exec", "puma", "-p", "4567", "-t", "2", "-e", "production"] +CMD ["bundle", "exec", "puma", "-p", "4567", "-e", "production"] diff --git a/config/puma.rb b/config/puma.rb new file mode 100644 index 0000000..9d18384 --- /dev/null +++ b/config/puma.rb @@ -0,0 +1 @@ +threads(1, `nproc`.chomp || 5)