From bfeb8dc5dfdb149cec1e00678d0fac7f89710959 Mon Sep 17 00:00:00 2001 From: Ari Timonen Date: Sun, 29 Nov 2020 17:11:00 +0100 Subject: [PATCH] Fix thread-safety, Use workers instead App it not thread safe, disable threads. --- .env.production | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.env.production b/.env.production index 2cd314a..5e87f55 100644 --- a/.env.production +++ b/.env.production @@ -8,9 +8,9 @@ ASSETS_PRECOMPILE=1 SCRYPT_MAX_TIME=0.001 # FIXME Disable workers + cluster mode for now. They break start up. -PUMA_WORKERS=0 +PUMA_WORKERS=8 PUMA_MIN_THREADS=1 -PUMA_MAX_THREADS=32 +PUMA_MAX_THREADS=1 PUMA_TIMEOUT=30 PRODUCTION_PUMA_PORT=4000