Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

celery cannot connect to postgresql #626

Open
rashidiy opened this issue Jul 5, 2023 · 2 comments
Open

celery cannot connect to postgresql #626

rashidiy opened this issue Jul 5, 2023 · 2 comments

Comments

@rashidiy
Copy link

rashidiy commented Jul 5, 2023

what is wrong?

my postgresql database incide docker

my celery.py

from celery import Celery

os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'root.settings')

background_worker = Celery('root')
background_worker.conf.broker_connection_retry_on_startup = True
background_worker.config_from_object('django.conf:settings', namespace='CELERY')
background_worker.autodiscover_tasks()
@auvipy
Copy link
Member

auvipy commented Jul 6, 2023

you are trying to use a discontinued package.

@rashidiy
Copy link
Author

rashidiy commented Jul 7, 2023

@auvipy which package discounted?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants