mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-09 14:34:53 +03:00
Fix Reloader interval as default and make code with indent to be only in docker
This commit is contained in:
parent
bac46de67f
commit
f4421a81ee
|
@ -83,15 +83,15 @@ if env("USE_DOCKER") == "yes":
|
||||||
# The node container isn't started (yet?)
|
# The node container isn't started (yet?)
|
||||||
pass
|
pass
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{% if cookiecutter.windows == 'y' %}
|
{%- if cookiecutter.windows == 'y' %}
|
||||||
# RunServerPlus
|
# RunServerPlus
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
# After how many seconds auto-reload should scan for updates in poller-mode
|
# This is a custom setting for RunServerPlus to fix reloader issue in Windows docker environment
|
||||||
RUNSERVERPLUS_POLLER_RELOADER_INTERVAL = 5
|
# Werkzeug reloader type [auto, watchdog, or stat]
|
||||||
|
RUNSERVERPLUS_POLLER_RELOADER_TYPE = 'stat'
|
||||||
# Werkzeug reloader type [auto, watchdog, or stat]
|
# If you have CPU and IO load issues, you can increase this poller interval e.g) 5
|
||||||
RUNSERVERPLUS_POLLER_RELOADER_TYPE = 'stat'
|
RUNSERVERPLUS_POLLER_RELOADER_INTERVAL = 1
|
||||||
{% endif %}
|
{%- endif %}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
||||||
# django-extensions
|
# django-extensions
|
||||||
|
|
Loading…
Reference in New Issue
Block a user