Skip to content

Commit f740043

Browse files
committed
[ruby/sinatra] Detect workers for Iodine
+----------------------------+------+-----+-----+-------+--------------+ | branch_name|update| db|query|fortune|weighted_score| +----------------------------+------+-----+-----+-------+--------------+ | master| 22061|46915|32431| 8205| 2328| | sinatra/iodine-set-workers| 22579|64083|50717| 16851| 2826| +----------------------------+------+-----+-----+-------+--------------+
1 parent f22bbb6 commit f740043

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frameworks/Ruby/sinatra-sequel/sinatra-sequel-postgres-iodine-mri.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ ENV DBTYPE=postgresql
1717

1818
EXPOSE 8080
1919

20-
CMD bundle exec iodine -p 8080
20+
CMD bundle exec iodine -p 8080 -w $(ruby config/auto_tune.rb | grep -Eo '[0-9]+' | head -n 1)

0 commit comments

Comments
 (0)