使用django命令python manage.py shell_plus
时,在闲置几分钟后发送新命令时,经常出现以下错误。
OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
我从未用常规的shell命令看到过这一点。此错误的原因是什么,我可以在不退出python shell的情况下重新启动连接吗?