celery-monitor: fix syncing tasks for each ICeleryTask
When a cube inherit from CeleryTaskAdapter, celery-monitor was running sync_task_state for each of them. Replace this by adding a `sync_task_state()` function that first get or create a CeleryTask, then adapt it to ICeleryTask and call `sync_state()` method.
Please register or sign in to comment