Skip to content

Commit ba1cc09

Browse files
chore: Clean up Gunicorn configuration in docker_lms_gunicorn.py (#347)
1 parent b52bf93 commit ba1cc09

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

lms/docker_lms_gunicorn.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,13 @@
11
"""
22
gunicorn configuration file: https://gunicorn.org/reference/settings/
33
"""
4-
import os
54

65
preload_app = False
76
timeout = 300
87
bind = "127.0.0.1:8000"
98
pythonpath = "/edx/app/edxapp/edx-platform"
109
max_requests = 50
1110
workers = 17
12-
proc_name = os.getenv("GUNICORN_PROC_NAME", "edxapp-lms")
13-
# Metrics emission is opt-in: these remain unset unless explicitly provided.
14-
statsd_host = os.getenv("GUNICORN_STATSD_HOST")
15-
statsd_prefix = os.getenv("GUNICORN_STATSD_PREFIX")
16-
dogstatsd_tags = os.getenv("GUNICORN_DOGSTATSD_TAGS")
1711

1812

1913
def pre_request(worker, req):

0 commit comments

Comments
 (0)