Files
ubicloud/prog/redeliver_github_failures.rb
Enes Cakir 69179b3945 Increase the frequency of redeliveries for failed GitHub webhook events
GitHub’s app delivery API doesn’t have enough filtering options and
allows a maximum of 100 items per page. We have a ‘max_page’ limit to
avoid endless pagination.

As the number of delivered webhook events has increased, we occasionally
hit the max_page limit.

Instead of raising the ‘max_page’ limit, I prefer to check it more
frequently.

Increasing the 'max_page' limit extends the time spent on a single run
and raises the risk of apoptosis. It makes more sense to check more
frequently with less pages rather than less frequently with more pages.
2025-03-25 14:16:06 +03:00

382 B