fix: change workers quantity

This commit is contained in:
2026-04-04 01:02:35 -05:00
parent 24ca90e1ec
commit edad4df6e4

View File

@@ -2,8 +2,9 @@ import os
wsgi_app = 'trytond.application:app' wsgi_app = 'trytond.application:app'
bind = '0.0.0.0:8000' bind = '0.0.0.0:8000'
# Number of worker processes # Number of worker processes
workers = (8 * os.cpu_count()) + 1 workers = 2
# Worker class # Worker class
worker_class = "sync" # or "gevent" for I/O-bound tasks worker_class = "sync" # or "gevent" for I/O-bound tasks