Skip to content

save_origin_webhooks: Implement rate limit for webhook requests

In order to avoid abusing the archival service offered by Software Heritage or creating too many requests for the same origin in a short amount of time (when multiple commits are pushed in a row for instance), at most one request per hour for a given origin is now accepted, other ones are throttled.

Related to #4731 (closed)

Merge request reports

Loading