HomeSoftware Heritage

Find latest origin visit status by date instead of visits filtering

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

Find latest origin visit status by date instead of visits filtering

Currently, in case of a high number of visits for an origin, this makes the page
querying the result crash (with an empty cache). Note that even with a populated cache,
the current version could take some time to process.

The following diff opens a function which uses simpler storage api calls to retrieve the
most recent visit from a given point in time (with its most recent associated visit
status) instead of filtering all visits of an origin to retrieve the information. Hence
no longer relying on the cache of all visits for that origin either.

Related to T3905

Commit No Longer Exists

This commit no longer exists in the repository.