Skip to content

Commit 6ec5abd

Browse files
authored
Merge pull request #833 from hubmapconsortium/yuanzou/uwsgi
uWSGi with 12 workers and 24 threads
2 parents d49026a + 55ca4e0 commit 6ec5abd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/uwsgi.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ module = wsgi:application
99
# Send logs to stdout instead of file so docker picks it up and writes to AWS CloudWatch
1010
log-master=true
1111

12-
# Master with 16 worker processes (based on CPU number)
12+
# Master with 12 worker processes (based on CPU number)
1313
master = true
14-
processes = 16
14+
processes = 12
1515

1616
# Enable the multithreading within uWSGI
1717
# Launch the application across multiple threads inside each process
1818
enable-threads = True
19-
threads = 16
19+
threads = 24
2020

2121
# Use http socket for integration with nginx running on the same machine
2222
socket = localhost:5000

0 commit comments

Comments
 (0)