Skip to content

Commit 63e664e

Browse files
Merge pull request #9554 from p8/rails/iodine-set-workers
[rails] Detect workers for Iodine
2 parents f22bbb6 + d13cfa8 commit 63e664e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frameworks/Ruby/rails/rails-iodine.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ ENV RAILS_ENV=production_postgresql
2424
ENV PORT=8080
2525
ENV REDIS_URL=redis://localhost:6379/0
2626
CMD service redis-server start && \
27-
bundle exec iodine
27+
bundle exec iodine -w $(ruby config/auto_tune.rb | grep -Eo '[0-9]+' | head -n 1)

0 commit comments

Comments
 (0)