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

django_celery_results_taskresult worker is null #353

Open
Zoom2016 opened this issue Dec 19, 2022 · 2 comments
Open

django_celery_results_taskresult worker is null #353

Zoom2016 opened this issue Dec 19, 2022 · 2 comments

Comments

@Zoom2016
Copy link

Zoom2016 commented Dec 19, 2022

version:
celery==5.2.7
django-celery-results==2.4.0

question:
The "worker" field of the django_celery_results_taskresult is null instead of host name. The correct value should be the hostname, when celery==5.2.1 and django-celery-results==2.0.1.

1671436923019

@Zoom2016
Copy link
Author

Zoom2016 commented Dec 19, 2022

I downgraded the version of django-celery-results to 2.3.1 and the problem seems to be fixed. I didn't notice it before, it seems that other fields are also null, but after change the version, everything is back to normal.

case 1 -> django-celery-results==2.3.1
case 2 -> django-celery-results==2.4.0

image

@Xzya
Copy link

Xzya commented Jan 17, 2023

I believe you need to set CELERY_RESULT_EXTENDED = True for the extra fields to be saved (was previously saved by default, #334)

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