You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice if name field of PeriodicTask was used as a shadow name of async task. The field is unique; it is complementary to task field and useful for cases when the same function is scheduled several times with different arguments. It would be nice to search individual runs in Flower by name rather than task.
Celery Version: 4.3.0
Celery-Beat Version: 1.5.0
Detailed information
Current workaround for multiple schedules of the same function:
create multiple PeriodicTask records with different name values depending on args/kwargs
override shadow_name method to return the same name values depending on args/kwargs
result: shadow names of async tasks match PeriodicTask names
This discussion was converted from issue #325 on December 11, 2021 11:47.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Summary:
It would be nice if name field of PeriodicTask was used as a shadow name of async task. The field is unique; it is complementary to task field and useful for cases when the same function is scheduled several times with different arguments. It would be nice to search individual runs in Flower by name rather than task.
Detailed information
Current workaround for multiple schedules of the same function:
Beta Was this translation helpful? Give feedback.
All reactions