add to config_manage.py and rebuild

This commit is contained in:
Daniel Blankenberg
2018-03-07 13:29:20 -05:00
parent 53e6156ddf
commit e65f23e1a3
4 changed files with 21 additions and 3 deletions
+4 -3
View File
@@ -23,9 +23,10 @@ uwsgi:
# ':8080' to listen on all available network interfaces.
http: 127.0.0.1:8080
# By default uWSGI allocates a very small buffer (4096 bytes) for the headers
# of each request. If you start receiving "invalid request block size" in
# your logs, it could mean you need a bigger buffer. Increase it up to 65535.
# By default uWSGI allocates a very small buffer (4096 bytes) for the
# headers of each request. If you start receiving "invalid request
# block size" in your logs, it could mean you need a bigger buffer.
# Increase it up to 65535. buffer-size: 4096
buffer-size: 4096
# Number of web server (worker) processes to fork after the
+6
View File
@@ -5,6 +5,12 @@ uwsgi:
# ':9001' to listen on all available network interfaces.
http: 127.0.0.1:9001
# By default uWSGI allocates a very small buffer (4096 bytes) for the
# headers of each request. If you start receiving "invalid request
# block size" in your logs, it could mean you need a bigger buffer.
# Increase it up to 65535. buffer-size: 4096
buffer-size: 4096
# Number of web server (worker) processes to fork after the
# application has loaded.
processes: 1
+6
View File
@@ -5,6 +5,12 @@ uwsgi:
# ':9009' to listen on all available network interfaces.
http: 127.0.0.1:9009
# By default uWSGI allocates a very small buffer (4096 bytes) for the
# headers of each request. If you start receiving "invalid request
# block size" in your logs, it could mean you need a bigger buffer.
# Increase it up to 65535. buffer-size: 4096
buffer-size: 4096
# Number of web server (worker) processes to fork after the
# application has loaded.
processes: 1
+5
View File
@@ -54,6 +54,11 @@ UWSGI_OPTIONS = OrderedDict([
'default': '127.0.0.1:$default_port',
'type': 'str',
}),
('buffer-size', {
'desc': """By default uWSGI allocates a very small buffer (4096 bytes) for the headers of each request. If you start receiving "invalid request block size" in your logs, it could mean you need a bigger buffer. Increase it up to 65535. buffer-size: 4096""",
'default': '4096',
'type': 'int',
}),
('processes', {
'desc': """Number of web server (worker) processes to fork after the application has loaded.""",
'default': '1',