Skip to content
Merged
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
2 changes: 1 addition & 1 deletion frameworks/Ruby/rack/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ group :pitchfork, optional: true do
end

group :puma, optional: true do
gem 'puma', '7.0.0.pre1'
gem 'puma', '~> 7.0'
end

group :unicorn, optional: true do
Expand Down
4 changes: 2 additions & 2 deletions frameworks/Ruby/rack/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ GEM
protocol-rack (0.11.2)
protocol-http (~> 0.43)
rack (>= 1.0)
puma (7.0.0.pre1)
puma (7.0.2)
nio4r (~> 2.0)
racc (1.8.1)
rack (3.2.0)
Expand Down Expand Up @@ -156,7 +156,7 @@ DEPENDENCIES
passenger (~> 6.0)
pg (~> 1.5)
pitchfork (~> 0.17)
puma (= 7.0.0.pre1)
puma (~> 7.0)
rack (~> 3.0)
rack-test
rubocop
Expand Down
11 changes: 0 additions & 11 deletions frameworks/Ruby/rack/config/puma.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,3 @@

workers num_workers
threads num_threads, num_threads
# Use the `preload_app!` method when specifying a `workers` number.
# This directive tells Puma to first boot the application and load code
# before forking the application. This takes advantage of Copy On Write
# process behavior so workers use less memory.
#
preload_app!





1 change: 0 additions & 1 deletion frameworks/Ruby/rack/pg_db.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ def prepare_statements
@world_select = @connection['SELECT id, randomNumber FROM World WHERE id = ?', :$id].prepare(:select, :select_by_id)
@world_update = @connection['UPDATE World SET randomNumber = ? WHERE id = ?', :$random_number, :$id].prepare(:update,
:update_by_id)

@fortune_select = @connection['SELECT id, message FROM Fortune'].prepare(:select, :select_all)
end

Expand Down
Loading