Django channels disconnect the client if it doesn't respond for few seconds. But I can't find where to set that time limit. i checked this issue. It says it will be configurable.But I can't find where to set that limit. thank you
Asked
Active
Viewed 1,159 times
1 Answers
3
I solved this by modifying daphne's code and reinstalling it.
Download daphne source code from github
Change
ping_interval,ping_timeout
inserver.py
as per your needs.Default is 20,30 (in seconds)Install daphne using
pip install -e /path/to/daphne/(where setup.py is located)
Thats all!
`

Yunnosch
- 26,130
- 9
- 42
- 54