Closed Bug 729410 Opened 10 years ago Closed 10 years ago
Implement basic automatic backoff
On my Transformer, it looks like Android asks us to do a sync every minute or so. That gets expensive real fast. We should have a minimum interval as a basis for tuning, and a way around it for forcing a sync.
Assignee: nobody → rnewman
Status: NEW → ASSIGNED
Priority: -- → P1
https://github.com/mozilla-services/android-sync/pull/81 Awaiting review.
https://hg.mozilla.org/integration/mozilla-inbound/rev/307abe085248 https://hg.mozilla.org/integration/mozilla-inbound/rev/5e18c023268a Verified by hand. You'll see log entries at the end of a sync like: 02-22 23:04:27.748 I/SyncAdapter(12842): GlobalSession indicated success. 02-22 23:04:27.748 I/SyncAdapter(12842): Prefs target: sync.prefs.2phdvjga4cj3aycycclwbmpsuc4f5yos 02-22 23:04:27.748 I/SyncAdapter(12842): Notifying sync monitor. 02-22 23:04:27.748 I/SyncAdapter(12842): Setting minimum next sync time to 1329980967757 ... 02-22 23:05:24.938 I/SyncAdapter(12842): Not syncing: must wait another 242811ms.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [inbound][qa+] → [qa+]
Target Milestone: --- → mozilla13
Verified on m-c nightly of 20120224. Seeing log entries regarding next sync time and wait another as noted in comment #2
Status: RESOLVED → VERIFIED
Product: Mozilla Services → Android Background Services
You need to log in before you can comment on or make changes to this bug.