Skip to content

Commit a3906c0

Browse files
authored
[rails] Use 5 threads for puma (#10122)
This should score better for the fortunes test.
1 parent 8130a9f commit a3906c0

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

frameworks/Ruby/rails/rails-mysql.dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ RUN bundle install --jobs=8
2121
COPY . /rails/
2222

2323
ENV WEB_CONCURRENCY=auto
24+
ENV RAILS_MAX_THREADS=5
2425
ENV RAILS_ENV=production_mysql
2526
ENV PORT=8080
2627
ENV REDIS_URL=redis://localhost:6379/0

frameworks/Ruby/rails/rails.dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ RUN bundle install --jobs=8
2121
COPY . /rails/
2222

2323
ENV WEB_CONCURRENCY=auto
24+
ENV RAILS_MAX_THREADS=5
2425
ENV RAILS_ENV=production_postgresql
2526
ENV PORT=8080
2627
ENV REDIS_URL=redis://localhost:6379/0

0 commit comments

Comments
 (0)