diff --git a/src/uwsgi.ini b/src/uwsgi.ini index 85b3cfd7..0ffffd98 100644 --- a/src/uwsgi.ini +++ b/src/uwsgi.ini @@ -9,14 +9,14 @@ module = wsgi:application # Send logs to stdout instead of file so docker picks it up and writes to AWS CloudWatch log-master=true -# Master with 16 worker processes (based on CPU number) +# Master with 12 worker processes (based on CPU number) master = true -processes = 16 +processes = 12 # Enable the multithreading within uWSGI # Launch the application across multiple threads inside each process enable-threads = True -threads = 16 +threads = 24 # Use http socket for integration with nginx running on the same machine socket = localhost:5000