.在celery 的worker启动窗口设置export PYTHONOPTIMIZE=1



export PYTHONOPTIMIZE=1

/usr/local/python36/bin/celery -A lykops worker -l info

相关文章: