Skip to content

Commit d13cfa8

Browse files
committed
[rails] Detect workers for Iodine
+------------------------+---------+------+------+-----+-----+-------+--------------+ | branch_name|plaintext|update| json| db|query|fortune|weighted_score| +------------------------+---------+------+------+-----+-----+-------+--------------+ | master| 127557| 12167| 88459|24399|19880| 15784| 1480| |rails/iodine-set-workers| 158915| 15101|111481|28795|21691| 18549| 1767| +------------------------+---------+------+------+-----+-----+-------+--------------+
1 parent f22bbb6 commit d13cfa8

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)