cancel
Showing results for 
Search instead for 
Did you mean: 

What is the poll frequency of Alfresco Desktop Sync?

nicolasraoul
Star Contributor
Star Contributor
Dear all,

How many times per hour does Alfresco Desktop Sync polls the Alfresco server to check whether anything has changed?

I was under the impression it was like every few minutes, but sometimes it seems different, and I am not sure whether it is because of my environment.

So, what frequency have you observed?
An answer from someone with access to the source code would be even better.

Thank you!
Nicolas Raoul
4 REPLIES 4

tarapenner
Champ in-the-making
Champ in-the-making
I've been testing Desktop Sync, and while some changes are nearly instantaneous, others seem to take hours to take effect.

If you've figured it out, I'd love to get some additional info!

eshinn
Champ in-the-making
Champ in-the-making
I've noticed that the upload is instantaneous, but the download isn't as fast. Oddly enough if I create a file within Share and then create a file on my local drive, the upload is quick but apparently doesn't check for anything new in the remote folder.

My guess is:
Alfresco Desktop Sync "watches" the local folder for updates, but doesn't hit the server.

As a side note:
If you're using CMISSync instead, you can set the frequency that it checks - but keep in mind that having multiple users hitting the server every few seconds just to ask "Any thing new?" might be taxing it quite a bit. If you're not the network admin, check with him/her to run some tests on it. But also keep in mind that if you're using CMISSync (as of right now) when you update a file locally it REPLACES the file on the server - so kiss the version history goodbye. 😞

cdw
Champ in-the-making
Champ in-the-making
I also use CmisSync and all files are versioned, so it works.
But: it depends how your files are "configured". If you upload a new version via the web frontend, Alfresco Share automatically adds the aspect "versionable". This is not the case if you do it via WebDAV, CMIS or so.
So, to achieve versioning, you have to add the aspect either via a triggered script or (as we did it) added this aspect as mandatory on all objects directly in the data model.
HTH

douglascrp
World-Class Innovator
World-Class Innovator
Hey Nicolas, how are you?

Based on the time since you asked for this, I guess you already know the answer, but I'm adding it here in hope it can be useful to someone else.

Looking at the Alfresco Sync's source code, I saw the default poll frequency for files create on the server side is 300 seconds (5 minutes).
I've just made a set of tests, and I can confirm that.

For files created on the local disc, the sync process is done just after the file is saved.

So, 5 minutes from Alfresco to local, and immediately from local to Alfresco.

I hope this answer some questions.

See ya.