coner-tech / snoozle

Snoozle is a toolkit for building curiously simple distributed software applications for personal or small scale operation.
GNU Affero General Public License v3.0
1 stars 0 forks source link

Watching for entity changes on Windows in a Syncthing folder produces exceptions due to filesystem locks #2

Open carltonwhitehead opened 5 years ago

carltonwhitehead commented 5 years ago

On Windows, Syncthing appears to place a lock on files when updates are replicating from other hosts in the cluster. Snoozle's file watcher receives modification events before Syncthing has released its lock, leading to errors when attempting to read the file. This is a critical issue for running Snoozle based apps on Windows.

carltonwhitehead commented 5 years ago

Possible solutions:

carltonwhitehead commented 4 years ago

The 0.3 branch significantly improves the robustness of the watch stream. Will re-test once it gets closer to merge time.