Signal-iOS/SignalServiceKit
Max Radermacher f2afe8d45b Skip already-cached values in BulkProfileFetch
If we queue N UUIDs [1, 2, ..., N], we’ll send a request to fetch all of
them. If we queue those same N UUIDs again, we’ll stop processing after
the first one, without sending any fetch request.

We’ll start processing again the next time `process()` is called. This
could happen in response to network availability changing, or it could
happen in response to scheduling the N+1’th UUID. (Though, we won’t
necessarily fetch the N+1’th UUID in this case -- we’ll fetch the 2nd.)

These cached results also expire after a few minutes or a few hours,
depending on the most recent result. Therefore, this fetcher may behave
somewhat erratically, where it fetches profiles, stops for a few
minutes, then starts fetching profiles again.
2022-10-27 19:55:44 -07:00
..
Experience Upgrades Wire up the remote megaphone model to a view 2022-10-26 17:56:14 -07:00
protobuf Move system contact names to ContactRecord 2022-10-26 15:00:36 -07:00
Resources Handle isComplete during incoming contact syncs 2022-10-19 09:29:52 -07:00
src Skip already-cached values in BulkProfileFetch 2022-10-27 19:55:44 -07:00
tests Add FiatMoney type 2022-10-26 17:04:51 -05:00
.clang-format Update clang-format with AllowShortEnumsOnASingleLine: false 2022-03-14 11:20:20 -07:00
.gitignore
.travis.yml
SignalServiceKit-Prefix.pch Change license to AGPL 2022-10-13 08:25:37 -05:00
SignalServiceKit.h Change license to AGPL 2022-10-13 08:25:37 -05:00