Project

Profile

Help

« Previous | Next » 

Revision be51a35b

Added by bmbouter almost 6 years ago

Specifies the queue_sync_with_auto_publish celery task name

In commit cb99aa95 the task named sync_with_auto_publish was deleted and was intented to have all usage switch to queue_sync_with_auto_publish. This works for everything except saved scheduled call database records which expect to call the original task by name.

This updates the task name so when the old records call the task by name it will still work. All other usage dispatches using the object queue_sync_with_auto_publish and not by name so this will continue to work with the existing new code. Also new scheduled calls save into the db by looking up the task name, so newly created schedule calls will save into the db just like the old ones did with this change also.

https://pulp.plan.io/issues/1742 closes #1742