Use native twisted for daphne

This commit is contained in:
FinnStutzenstein 2017-11-10 18:14:15 +01:00 committed by Emanuel Schütze
parent 3161bdaa05
commit 513f2a887f
4 changed files with 6 additions and 1 deletions

2
.gitignore vendored
View File

@ -22,7 +22,7 @@ docs/_build/*
*.egg-info
build/*
dist/*
debug/
debug/*
.DS_Store
.idea

View File

@ -96,6 +96,7 @@ Core:
- Added 'go to top'-link [#3404].
- Added caching for the index views [#3419, #3424].
- Added projector prioritization [#3425].
- Use native twisted mode for daphne [#3487].
Mediafiles:
- Fixed reloading of PDF on page change [#3274].

View File

@ -7,3 +7,6 @@ from .utils.main import setup_django_settings_module
setup_django_settings_module()
channel_layer = get_channel_layer()
# Use native twisted mode
channel_layer.extensions.append("twisted")

View File

@ -6,3 +6,4 @@ asgi-redis>=1.3,<1.4
django-redis>=4.7.0,<4.8
django-redis-sessions>=0.5.6,<0.6
psycopg2>=2.7,<2.8
txredisapi==1.4.4