Closed Bug 530863 Opened 15 years ago Closed 15 years ago

Global threshold update causes multiple syncs to fire

Categories

(Firefox :: Sync, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
1.0 beta3

People

(Reporter: Mardak, Assigned: Mardak)

References

Details

_calculateScore seems to unconditionally call syncOnIdle or _scheduleNextSync if there's no sync timer.

Both probably shouldn't get called if we're offline/private browsing.

scheduleNextSync seems to schedule multiple syncOnIdle if there's a pending idle notification (and no sync timer)
Flags: blocking-weave1.0+
Summary: Global threshold update causes multiple syncs to fire (when they shouldn't) → Global threshold update causes multiple syncs to fire
Assignee: nobody → edilee
Depends on: 518075
Blocks: 531943
http://hg.mozilla.org/labs/weave/rev/161e5b7b483f
Make sure we only add one idle observer by keeping a flag.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Component: Firefox Sync: Backend → Sync
Product: Cloud Services → Firefox
You need to log in before you can comment on or make changes to this bug.