Skip to content

Commit 0ea2d77

Browse files
committed
Use multiple worker threads for parallel requests
Also update the log format to add worker process ID and remove the HTTP Basic Auth username we never set.
1 parent be774c3 commit 0ea2d77

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

checker/server/gunicorn_conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
bind = "0.0.0.0:5000"
22
accesslog = '-'
3-
access_log_format = '%(h)s %(l)s %(u)s %(t)s "%(r)s" %(s)s - %(L)ss'
4-
workers = 1
3+
access_log_format = '%(p)s %(h)s %(l)s %(t)s "%(r)s" %(s)s - %(L)ss'
4+
workers = 4
55
backlog = 30
66
preload_app = True

0 commit comments

Comments
 (0)