花了很长时间才关闭并被杀死

时间:2019-06-27 11:28:11

标签: django django-channels daphne

WARNING Application instance <Task pending coro=<__call__() running at /home/developer/projects/tabcon/tabcon_env/lib/python3.5/site-packages/channels/http.py:191> wait_for=<Future pending cb=[_chain_future.<locals>._call_check_cancel() at /usr/lib/python3.5/asyncio/futures.py:431, Task._wakeup()]>> for connection <WebRequest at 0x7ffa40e17b00 method=GET uri=/ clientproto=HTTP/1.1> took too long to shut down and was killed.

上面的异常正在显示,整个服务停止运行,

使用

  

channels == 2.0

     

channels_redis == 2.2.1

     

daphne == 2.2.2

     

Django == 2.1

     

channels_redis == 2.2.1

1 个答案:

答案 0 :(得分:0)