sboesen / remotely-sync

fork of remotely-save with security upgrades
Apache License 2.0
180 stars 8 forks source link

[Bug]: Sync on Remote infinite loop #105

Open kadisonm opened 6 months ago

kadisonm commented 6 months ago

What happened?

If two devices both have Sync on Remote and are both on then once the first device syncs, the second will sync, causing the first to sync again and so on.

Right now it uploads metadata on every sync, but I think we need to make it upload only on file changes and deletions. Might be able to implement that with #97.

What OS are you using?

Windows

What remote cloud services are you using?

Dropbox

Version of the plugin

No response

Version of Obsidian

No response

Using password or not

Ensure no sensitive information

sboesen commented 5 months ago

I've noticed this as well. Definitely annoying!

kadisonm commented 5 months ago

I think we need to only sync the metadata when there has been file edits, deletions or folder creations.

Just not sure if we are tracking file edits at all. Might be something to add to #97.