File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 1
1
require 'erb'
2
2
require 'active_record'
3
3
require 'yaml'
4
+ require_relative 'config/auto_tune'
4
5
5
6
MAX_PK = 10_000
6
7
QUERIES_MIN = 1
Original file line number Diff line number Diff line change @@ -5,5 +5,5 @@ production:
5
5
database : hello_world
6
6
username : benchmarkdbuser
7
7
password : benchmarkdbpass
8
- pool : 512
8
+ pool : 2
9
9
timeout : 5000
Original file line number Diff line number Diff line change 4
4
num_workers , num_threads = auto_tune
5
5
6
6
workers num_workers
7
- threads num_threads , num_threads
7
+
8
+ threads 2 , 2
9
+
8
10
# Use the `preload_app!` method when specifying a `workers` number.
9
11
# This directive tells Puma to first boot the application and load code
10
12
# before forking the application. This takes advantage of Copy On Write
You can’t perform that action at this time.
0 commit comments