Page MenuHomeSoftware Heritage

Increase rate-limit for swh_api_origin_visit_latest.
ClosedPublic

Authored by vlorentz on Jul 10 2019, 2:28 PM.

Details

Summary

This endpoint is being introduced to replace a more data intensive
'internal' endpoint that wasn't rate-limited (_origin_latest_snapshot).

Related diffs: D1709 D1710 D1712

Diff Detail

Repository
rSPSITE puppet-swh-site
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

anlambert added a subscriber: anlambert.
anlambert added inline comments.
data/defaults.yaml
1791

You should increase that value to at least 700/m I think. Starting the third page of results from the browse search interface (easily reachable in less than a minute), the visit statuses will not be correctly displayed otherwise.

This revision is now accepted and ready to land.Jul 10 2019, 2:36 PM
This revision was automatically updated to reflect the committed changes.