Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@
virtualenv={{ django_project_path }}
with_items:
- name: pip
version: 19.3.1
version: 20.0.2
- name: setuptools
version: 42.0.2
version: 44.0.0

- name: Install python requirements
pip: name={{ item }}
Expand Down
1 change: 1 addition & 0 deletions templates/uwsgi.service
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ ExecStart=/usr/local/bin/uwsgi \
--master \
--logto /var/log/uwsgi/{{ django_project_name }}.log \
--enable-threads \
--lazy-apps \
--max-requests {{ django_uwsgi_max_requests }} \
{% if django_uwsgi_stats -%}
--stats {{ django_uwsgi_stats }} \
Expand Down
1 change: 1 addition & 0 deletions templates/uwsgi_ini.j2
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ logdate = true
optimize = 2
processes = {{ django_uwsgi_processes }}
master = true
lazy-apps = true
logto = /var/log/uwsgi/{{ django_project_name }}.log
enable-threads = true
{% if django_uwsgi_stats %}
Expand Down
1 change: 1 addition & 0 deletions templates/uwsgi_init
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ exec uwsgi \
--logto /var/log/uwsgi/{{ django_project_name }}.log \
--enable-threads \
--max-requests {{ django_uwsgi_max_requests }} \
--lazy-apps \
--ignore-sigpipe \
--ignore-write-errors \
--disable-write-exception \
Expand Down