如何在django项目停止之前清除redis缓存对象? (when I hit (Ctrl + c) in the server terminal or stop the daphne or gunicorn service) 有没有办法在django项目中找到这个时刻,这样就不需要在nginxserver这样的服务器中使用额外的配置和命令?
(when I hit (Ctrl + c) in the server terminal or stop the daphne or gunicorn service)
目前还没有任何答案,快来回答吧!
暂无答案!
目前还没有任何答案,快来回答吧!