Closed Bug 729410 Opened 10 years ago Closed 10 years ago

Implement basic automatic backoff

Categories

(Firefox for Android Graveyard :: Android Sync, defect, P1)

ARM
Android
defect

Tracking

(Not tracked)

VERIFIED FIXED
mozilla13

People

(Reporter: rnewman, Assigned: rnewman)

Details

(Whiteboard: [qa!])

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://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.
Whiteboard: [inbound][qa+]
https://hg.mozilla.org/mozilla-central/rev/307abe085248
https://hg.mozilla.org/mozilla-central/rev/5e18c023268a
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
Whiteboard: [qa+] → [qa!]
Product: Mozilla Services → Android Background Services
Product: Android Background Services → Firefox for Android
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.