From 046689bd09bf76a13d0b2b5f32893b2de1716a01 Mon Sep 17 00:00:00 2001 From: Rizqi Date: Tue, 23 Jun 2026 00:22:02 +0700 Subject: [PATCH] chore: update gunicorn worker configuration to use single worker with multiple threads --- ecosystem.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ecosystem.config.js b/ecosystem.config.js index 5d52aae..3668d28 100644 --- a/ecosystem.config.js +++ b/ecosystem.config.js @@ -5,7 +5,8 @@ module.exports = { // Gunicorn inside the virtualenv as the production WSGI server script: './venv/bin/gunicorn', args: [ - '--workers', '4', + '--workers', '1', + '--threads', '4', '--bind', '127.0.0.1:5000', '--timeout', '300', // long timeout for backup operations '--keep-alive', '5',