|
@@ -4,7 +4,9 @@ require_relative 'auto_tune'
|
|
num_workers, num_threads = auto_tune
|
|
num_workers, num_threads = auto_tune
|
|
|
|
|
|
workers num_workers
|
|
workers num_workers
|
|
-threads num_threads, num_threads
|
|
|
|
|
|
+
|
|
|
|
+threads 2, 2
|
|
|
|
+
|
|
# Use the `preload_app!` method when specifying a `workers` number.
|
|
# Use the `preload_app!` method when specifying a `workers` number.
|
|
# This directive tells Puma to first boot the application and load code
|
|
# This directive tells Puma to first boot the application and load code
|
|
# before forking the application. This takes advantage of Copy On Write
|
|
# before forking the application. This takes advantage of Copy On Write
|