Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 0 additions & 41 deletions frameworks/Ruby/grape/config/auto_tune.rb

This file was deleted.

2 changes: 1 addition & 1 deletion frameworks/Ruby/grape/grape-iodine.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ ENV MAX_THREADS=1

EXPOSE 8080

CMD bundle exec iodine -p 8080 -w $(ruby config/auto_tune.rb | grep -Eo '[0-9]+' | head -n 1)
CMD bundle exec iodine -p 8080 -w $(($(nproc)*5/4))
41 changes: 0 additions & 41 deletions frameworks/Ruby/padrino/config/auto_tune.rb

This file was deleted.

2 changes: 1 addition & 1 deletion frameworks/Ruby/padrino/padrino.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ EXPOSE 8080
ENV RUBY_YJIT_ENABLE=1
ENV RACK_ENV=production

CMD bundle exec iodine -p 8080 -w $(ruby config/auto_tune.rb | grep -Eo '[0-9]+' | head -n 1)
CMD bundle exec iodine -p 8080 -w $(($(nproc)*5/4))
43 changes: 0 additions & 43 deletions frameworks/Ruby/rack-app/config/auto_tune.rb

This file was deleted.

10 changes: 0 additions & 10 deletions frameworks/Ruby/rack-app/config/puma.rb

This file was deleted.

2 changes: 1 addition & 1 deletion frameworks/Ruby/rack-app/rack-app.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ COPY . .

EXPOSE 8080

CMD bundle exec iodine -p 8080 -w $(ruby config/auto_tune.rb | grep -Eo '[0-9]+' | head -n 1)
CMD bundle exec iodine -p 8080 -w $(($(nproc)*5/4))
41 changes: 0 additions & 41 deletions frameworks/Ruby/rack-sequel/config/auto_tune.rb

This file was deleted.

2 changes: 1 addition & 1 deletion frameworks/Ruby/rack/rack-iodine.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ COPY . .

EXPOSE 8080

CMD bundle exec iodine -p 8080 -w $(ruby config/auto_tune.rb | grep -Eo '[0-9]+' | head -n 1)
CMD bundle exec iodine -p 8080 -w $(($(nproc)*5/4))
2 changes: 1 addition & 1 deletion frameworks/Ruby/rails/rails-iodine.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ ENV RAILS_ENV=production_postgresql
ENV PORT=8080
ENV REDIS_URL=redis://localhost:6379/0
CMD service redis-server start && \
bundle exec iodine -w $(ruby config/auto_tune.rb | grep -Eo '[0-9]+' | head -n 1)
bundle exec iodine -w $(($(nproc)*5/4))
41 changes: 0 additions & 41 deletions frameworks/Ruby/roda-sequel/config/auto_tune.rb

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ ENV DBTYPE=postgresql

EXPOSE 8080

CMD bundle exec iodine -p 8080 -w $(ruby config/auto_tune.rb | grep -Eo '[0-9]+' | head -n 1)
CMD bundle exec iodine -p 8080 -w $(($(nproc)*5/4))
41 changes: 0 additions & 41 deletions frameworks/Ruby/sinatra-sequel/config/auto_tune.rb

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ ENV DBTYPE=mysql

EXPOSE 8080

CMD bundle exec iodine -p 8080 -w $(ruby config/auto_tune.rb | grep -Eo '[0-9]+' | head -n 1)
CMD bundle exec iodine -p 8080 -w $(($(nproc)*5/4))
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ ENV DBTYPE=postgresql

EXPOSE 8080

CMD bundle exec iodine -p 8080 -w $(ruby config/auto_tune.rb | grep -Eo '[0-9]+' | head -n 1)
CMD bundle exec iodine -p 8080 -w $(($(nproc)*5/4))
41 changes: 0 additions & 41 deletions frameworks/Ruby/sinatra/config/auto_tune.rb

This file was deleted.

2 changes: 1 addition & 1 deletion frameworks/Ruby/sinatra/sinatra-iodine.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ ENV DBTYPE=mysql

EXPOSE 8080

CMD bundle exec iodine -p 8080 -w $(ruby config/auto_tune.rb | grep -Eo '[0-9]+' | head -n 1)
CMD bundle exec iodine -p 8080 -w $(($(nproc)*5/4))
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ ENV DBTYPE=postgresql

EXPOSE 8080

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