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
When its in listening mode , usync keeps track of things people delete and puts them in a uSyncAction.config file. On import this file is read, and things that match (usually by key) are deleted from the target site.
Options
It doesn't have to work like that, we could just put the deletes inline - by replacing the config file for an item with a file marking its deletion, then everything is just in place - deletes happen when uSync stumbled into the delete file.
Advantages
it's easier to code,
the presence of a random file in the root is unlikely to confuse people
Disadvantages:
Potentially harder to debug? - you have to hunt the files to find the delete
Exports might wipe it unintentionally ? Exports clear the folder this would loose all the deletes. at the moment there is an option to keep the actions file, which preserves it over exports
each handler has its own action file, and they are put in the the _Actions folder, this should make it eaiser to see them on disk, as well as keeping the size of the file down.
Activity
KevinJump commentedon Jan 28, 2019
Answered my own question with this one, keep the actions file.
KevinJump commentedon Jan 28, 2019
to keep it a bit more sensible (code wise) going to have an action file pertype.
KevinJump commentedon Jan 28, 2019
actions are in commit: 95a8805
each handler has its own action file, and they are put in the the _Actions folder, this should make it eaiser to see them on disk, as well as keeping the size of the file down.
Perf: scope handler runtime-cache per operation, skip cleanup on flat…
Merge v17/main into v18/main (2026-07-11) (#992)