Comment 5 for bug 805210

Revision history for this message
Philipp C. Heckel (binwiederhier) wrote : Re: [Bug 805210] Re: putting a larger file in synced folder generates large amount of Watcher events

I fixed it in my newsync branch; It now removes all outdated MODIFY
events for the same file. Check it out here:
http://bazaar.launchpad.net/~binwiederhier/syncany/newsync/revision/67#syncany/syncany-core/src/main/java/name/pachler/nio/file/contrib/BufferedWatcher.java

What do you think? It's probably not perfect since the event queue is
(once again) walked through, but it's better than passing every single
event to the indexer.