ynput / ayon-kitsu

Official AYON<->Kitsu intetgration (WIP)
Apache License 2.0
6 stars 4 forks source link

Deleting Entities on full_sync #38

Open scottmcdonnell opened 3 months ago

scottmcdonnell commented 3 months ago

As mentioned here At the moment the full sync will only create or update matching entities on the Ayon side. The delete of entities is only handled by the event handlers after a full sync.

Another related issue - if the kitsu processor service is down for a period of time, syncs can be missed. An option would be to sync all linked projects from Ayon -> Kitsu Kitsu -> Ayon on service start.

EmberLightVFX commented 3 months ago

Sync all linked projects from Ayon -> Kitsu on service start might not be what you want. If you remove a bunch of things in Kitsu you don't want them to reappear randomly.

To truly fix this we would need to split out the listener into its own service, like I did in my sync-pr. That way the listener would stack all events and wait until the processor can accept them.

scottmcdonnell commented 3 months ago

Sorry that should read Kitsu -> Ayon, fixed in comment.