在我的 django 应用程序的 Procfile 中我使用这个
worker: celery -A project.celery worker
(使用Redis作为代理)
并使用铁路平台来托管我的应用程序,但部署后应用程序崩溃了: 错误是这样的:
/opt/venv/lib/python3.9/site-packages/celery/platforms.py:800: RuntimeWarning: You're running the worker with superuser privileges: this is
absolutely not recommended!
Please specify a different user using the --uid option.
User information: uid=0 euid=0 gid=0 egid=0
warnings.warn(RuntimeWarning(ROOT_DISCOURAGED.format(
建议如何在铁路上高效运行芹菜流程。