File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -312,7 +312,7 @@ Install Celery for realtime processing of reports from clients:
312312
313313``` shell
314314apt -y install python3-celery redis python3-redis python-celery-common
315- C_FORCE_ROOT=1 celery worker --loglevel=info -b redis://localhost :6379/0 -E -A patchman
315+ C_FORCE_ROOT=1 celery worker --loglevel=info -b redis://127.0.0.1 :6379/0 -E -A patchman
316316```
317317
318318#### CentOS / RHEL
@@ -321,7 +321,7 @@ C_FORCE_ROOT=1 celery worker --loglevel=info -b redis://localhost:6379/0 -E -A p
321321dnf -y install python3-celery redis python3-redis
322322systemctl restart redis-server
323323semanage port -a -t http_port_t -p tcp 6379
324- C_FORCE_ROOT=1 celery worker --loglevel=info -b redis://localhost :6379/0 -E -A patchman
324+ C_FORCE_ROOT=1 celery worker --loglevel=info -b redis://127.0.0.1 :6379/0 -E -A patchman
325325
326326```
327327
Original file line number Diff line number Diff line change 104104 THIRD_PARTY_APPS += ['celery' ]
105105 CELERY_IMPORTS = ['reports.tasks' ]
106106 USE_ASYNC_PROCESSING = True
107- BROKER_URL = 'redis://localhost :6379/0'
107+ CELERY_BROKER_URL = 'redis://127.0.0.1 :6379/0'
108108
109109LOGIN_REDIRECT_URL = '/patchman/'
110110LOGOUT_REDIRECT_URL = '/patchman/login/'
You can’t perform that action at this time.
0 commit comments