pydio / pydio-sync-java

[DEPRECATED] Synchronization Client of the Pydio project. Based on the Java SDK.
GNU General Public License v3.0
35 stars 15 forks source link

Sync time less than 10 minutes #37

Open mguyard opened 10 years ago

mguyard commented 10 years ago

Hi,

I test Pydio and Desktop Sync (we already use Ajaxplorer) to replace dropbox usage.

It's possible to define a sync time less than 10 minute, for example, on change detection ?

DotSlashNatalie commented 10 years ago

I think something like this would be very much possible - there are already hooks into the OS to make this possible (without needing an ugly/inefficient infinite loop):

Mac OSX - kqueue Linux - inotify Windows - FileSystemWatcher/ReadDirectoryChangesW

In my opinion the simplest approach would be to write a native application for those platforms that monitor the syncing directories and if a change is detected signal the ajaxplorer sync to start a sync.

cdujeu commented 10 years ago

@nadams810 @mguyard that's something we will put in the next generation (reworking from scratch). For now we have greatly improved the java-based impl, see http://dl.ajaxplorer.info/nightly/sync/0.8.4-SNAPSHOT/Pydio-0.8.4-MacOSX-Setup.dmg or http://dl.ajaxplorer.info/nightly/sync/0.8.4-SNAPSHOT/Pydio-0.8.4-Windows-Setup.exe , if you can test that would be cool.