|
@@ -1,10 +1,9 @@
|
|
|
require_relative 'auto_tune'
|
|
require_relative 'auto_tune'
|
|
|
|
|
|
|
|
# FWBM only... use the puma_auto_tune gem in production!
|
|
# FWBM only... use the puma_auto_tune gem in production!
|
|
|
-num_workers, num_threads = auto_tune
|
|
|
|
|
|
|
+_, num_threads = auto_tune
|
|
|
|
|
|
|
|
-workers num_workers
|
|
|
|
|
-threads num_threads, num_threads
|
|
|
|
|
|
|
+threads num_threads
|
|
|
|
|
|
|
|
before_fork do
|
|
before_fork do
|
|
|
Sequel::DATABASES.each(&:disconnect)
|
|
Sequel::DATABASES.each(&:disconnect)
|