Need strategy for regularly and reliably updating contacts

RESOLVED INVALID

Status

Mozilla Labs
F1
RESOLVED INVALID
6 years ago
5 years ago

People

(Reporter: markh, Unassigned)

Tracking

Details

(Reporter)

Description

6 years ago
Contacts are currently fetched only when a user logs in, so are never updated while the user remains logged in.  The complications in fixing this are:

* The fetching should be done in the background (ie, should not block any of the regular calls unless specifically requested) and there should only be one fetch happening at a time.

* The old contacts must still be available while new contacts are being fetched - ie, we can't just clear the cached copy before fetch as that will cause problems should the user attempt to share while updated copies are being fetched.

* Deleted contacts should be removed.  This is tricker than it sounds given the "paged" nature of the contacts calls - you can't know an old contact has been deleted until the last paged operation completes - and as above, you can't just nuke the entire list before re-fetching.
f1 is no longer an active project.  delete these messages by searching for: [closing_f1_project_bugs]
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.