X
Tap here to go to the mobile version of the site.

Support Forum

services.sync.syncInterval is reset/overwritten when I 'Sync Now'

Posted

Hi,

I use Firefox sync with multiple devices and I wanted to reduce the sync interval so that my stuff gets sync'ed more frequently.

Note I sync "Add-Ons", "Bookmarks" and "Preferences" between devices.

If I go into the about:config preferences and change the "services.sync.syncInterval" value from the default 3600000 to 60000 I see the value change.

HOWEVER if I then perform a "Sync Now" from the menu I immediately see the "services.sync.syncInterval" value reset to 3600000.

I was expecting that the 60000 would instead be sync'ed across to all my devices and would remain.

Can someone please advise how I might resolve this?

Appreciate any help, thanks for reading!

Hi, I use Firefox sync with multiple devices and I wanted to reduce the sync interval so that my stuff gets sync'ed more frequently. Note I sync "Add-Ons", "Bookmarks" and "Preferences" between devices. If I go into the about:config preferences and change the "services.sync.syncInterval" value from the default 3600000 to 60000 I see the value change. HOWEVER if I then perform a "Sync Now" from the menu I immediately see the "services.sync.syncInterval" value reset to 3600000. I was expecting that the 60000 would instead be sync'ed across to all my devices and would remain. Can someone please advise how I might resolve this? Appreciate any help, thanks for reading!

Additional System Details

Installed Plug-ins

  • Version 4.7.0.15362
  • Google Talk Plugin Video Accelerator version:0.1.44.29
  • The QuickTime Plugin allows you to view a wide variety of multimedia content in web pages. For more information, visit the QuickTime Web site.
  • Java Plug-In 2 for NPAPI Browsers
  • A plugin to detect whether the Adobe Extension Manager is installed on this machine.
  • Shockwave Flash 11.7 r700
  • 5.1.20125.0
  • A plugin to detect whether the Adobe Application Manager is installed on this machine.
  • iPhoto6

Application

  • Firefox 23.0.1
  • User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:23.0) Gecko/20100101 Firefox/23.0
  • Support URL: http://support.mozilla.org/1/firefox/23.0.1/Darwin/en-US/

Extensions

  • Charles Autoconfiguration 3.6.4 ({3e9a3920-1b27-11da-8cd6-0800200c9a66})
  • JSONView 0.7 (jsonview@brh.numbera.com)
  • Keyfixer 0.5 (keyfixer@mavaball.net)
  • Live HTTP headers 0.17 ({8f8fe09b-0bd3-4470-bc1b-8cad42b8203a})
  • Search By Image (by Google) 1.1.2 ({ce7e73df-6a44-4028-8079-5927a588c948})
  • Session Manager 0.8.0.8 ({1280606b-2510-4fe0-97ef-9b5a22eafe30})
  • Tab Utilities 1.6pre4 (tabutils@ithinc.cn)
  • Tree Style Tab 0.14.2013082301 (treestyletab@piro.sakura.ne.jp)
  • Troubleshooter 1.1a (troubleshooter@mozilla.org)
  • Adobe Acrobat - Create PDF 2.0 (web2pdfextension@web2pdf.adobedotcom) (Inactive)
  • Dock Progress 1.2.1 (dockprogress@vasi.dyndns.org) (Inactive)

Javascript

  • incrementalGCEnabled: True

Graphics

  • adapterDescription:
  • adapterDeviceID: 0x9583
  • adapterDrivers:
  • adapterRAM:
  • adapterVendorID: 0x1002
  • driverDate:
  • driverVersion:
  • info: {u'AzureCanvasBackend': u'quartz', u'AzureFallbackCanvasBackend': u'none', u'AzureContentBackend': u'none'}
  • numAcceleratedWindows: 1
  • numTotalWindows: 1
  • webglRenderer: ATI Technologies Inc. -- ATI Radeon HD 2600 PRO OpenGL Engine
  • windowLayerManagerType: OpenGL

Modified Preferences

  • accessibility.typeaheadfind.flashBar: 0
  • browser.cache.disk.capacity: 358400
  • browser.cache.disk.smart_size.first_run: False
  • browser.cache.disk.smart_size.use_old_max: False
  • browser.cache.disk.smart_size_cached_value: 358400
  • browser.link.open_newwindow.restriction: 0
  • browser.newtab.url: about:home
  • browser.places.smartBookmarksVersion: 4
  • browser.search.openintab: True
  • browser.startup.homepage_override.buildID: 20130814063812
  • browser.startup.homepage_override.mstone: 23.0.1
  • browser.tabs.autoHide: False
  • browser.tabs.insertRelatedAfterCurrent: False
  • browser.tabs.insertRelatedAfterCurrent.backup: True
  • browser.tabs.loadFolderAndReplace: False
  • browser.tabs.loadInBackground: False
  • browser.tabs.onTop: False
  • browser.tabs.tabClipWidth: 0
  • browser.tabs.tabMaxWidth: 319
  • browser.tabs.tabMinHeight: 27
  • browser.tabs.tabMinWidth: 159
  • browser.tabs.warnOnClose: False
  • dom.disable_window_move_resize: True
  • dom.mozApps.used: True
  • extensions.lastAppVersion: 23.0.1
  • gfx.blacklist.direct2d: 3
  • gfx.blacklist.layers.direct3d9: 3
  • gfx.blacklist.webgl.msaa: 4
  • network.cookie.prefsMigrated: True
  • places.database.lastMaintenance: 1380702533
  • places.history.expiration.transient_current_max_pages: 104858
  • plugin.disable_full_page_plugin_for_types: application/pdf
  • plugin.importedState: True
  • plugin.state.flip4mac wmv plugin: 0
  • privacy.donottrackheader.enabled: True
  • privacy.sanitize.migrateFx3Prefs: True
  • security.enable_ssl3: True
  • security.enable_tls: True
  • security.warn_entering_secure: False
  • security.warn_entering_weak: True
  • security.warn_leaving_secure: False
  • security.warn_submit_insecure: False
  • security.warn_viewing_mixed: False
  • storage.vacuum.last.index: 0
  • storage.vacuum.last.places.sqlite: 1380702301

Misc

  • User JS: No
  • Accessibility: No
philipp
  • Top 25 Contributor
  • Moderator
5282 solutions 23336 answers

hello, i suspect this is a setting which is getting pushed to clients during the sync process by the server for load-balancing stuff, controlled maintenance periods, etc.

https://twitter.com/mozservices/status/373108653693235200

hello, i suspect this is a setting which is getting pushed to clients during the sync process by the server for load-balancing stuff, controlled maintenance periods, etc. https://twitter.com/mozservices/status/373108653693235200

Question owner

philipp thank you very much for taking the time to reply.

If I understand what you've said correctly, you're suggesting that Mozilla are undertaking some scheduled maintenance to servers and so are temporarily forcing users syncInterval to 12 hours?

However, having taken a look at Twitter, that maintenance and the 12 hour sync force finished over a month ago...

https://twitter.com/mozservices/status/373242687320641536

philipp thank you very much for taking the time to reply. If I understand what you've said correctly, you're suggesting that Mozilla are undertaking some scheduled maintenance to servers and so are temporarily forcing users syncInterval to 12 hours? However, having taken a look at Twitter, that maintenance and the 12 hour sync force finished over a month ago... https://twitter.com/mozservices/status/373242687320641536

Question owner

FYI also just found another report from a user experiencing the same thing:

https://mail.mozilla.org/pipermail/services-dev/2013-April/001735.html

FYI also just found another report from a user experiencing the same thing: https://mail.mozilla.org/pipermail/services-dev/2013-April/001735.html
philipp
  • Top 25 Contributor
  • Moderator
5282 solutions 23336 answers

hey, no this was only meant as an example that the sync interval is controlled by the server side (the tweet shouldn't indicate that there is an ongoing maintenance currently).

edit: but i'm not entirely sure on how that preference is intended to work and what should happen when a user sets a custom value either...

hey, no this was only meant as an example that the sync interval is controlled by the server side (the tweet shouldn't indicate that there is an ongoing maintenance currently). ''edit: but i'm not entirely sure on how that preference is intended to work and what should happen when a user sets a custom value either...''

Modified by philipp

cor-el
  • Top 10 Contributor
  • Moderator
17348 solutions 156811 answers

See:

Looks that is is derived from the services.sync.scheduler.singleDeviceInterval pref.

this.singleDeviceInterval = Svc.Prefs.get("scheduler.singleDeviceInterval") * 1000;
  
get syncInterval() Svc.Prefs.get("syncInterval", this.singleDeviceInterval),
set syncInterval(value) Svc.Prefs.set("syncInterval", value),
See: *http://mxr.mozilla.org/mozilla-central/source/services/sync/modules/policies.js Looks that is is derived from the services.sync.scheduler.singleDeviceInterval pref. <pre><nowiki>this.singleDeviceInterval = Svc.Prefs.get("scheduler.singleDeviceInterval") * 1000; get syncInterval() Svc.Prefs.get("syncInterval", this.singleDeviceInterval), set syncInterval(value) Svc.Prefs.set("syncInterval", value), </nowiki></pre>

Question owner

Thanks for your reply cor-el but unfortunately setting the "singleDeviceInterval" value seems to make no difference to resetting of the syncInterval, its always reset to 3600000 regardless.

Thanks for your reply cor-el but unfortunately setting the "singleDeviceInterval" value seems to make no difference to resetting of the syncInterval, its always reset to 3600000 regardless.
ShhImSleeping 0 solutions 2 answers

This is insanely annoying, and apparently has been doing it for awhile. Firefox's sync is about a joke, I can't depend on it to sync in a timely matter, can't change the interval without being reset, none of the interface settings sync, so I have to make changes at work anytime I change them at home, this is just annoying. Chrome's syncing is awesome. I switched back to firefox because of user interface customizations, and general privacy concerns, but I'm very close to just switching to chromium. Sync is one of the biggest features a browser can have, and firefox's is a joke compared to chromes.

This is insanely annoying, and apparently has been doing it for awhile. Firefox's sync is about a joke, I can't depend on it to sync in a timely matter, can't change the interval without being reset, none of the interface settings sync, so I have to make changes at work anytime I change them at home, this is just annoying. Chrome's syncing is awesome. I switched back to firefox because of user interface customizations, and general privacy concerns, but I'm very close to just switching to chromium. Sync is one of the biggest features a browser can have, and firefox's is a joke compared to chromes.
cor-el
  • Top 10 Contributor
  • Moderator
17348 solutions 156811 answers
Sync is currently being rewritten. *http://www.ghacks.net/2014/01/12/mozilla-plans-update-firefoxs-data-synchronization-feature-version-29/