If our query for acknowledged pagerduty incidents returns more than 100 results, we'll only look at the first 100. This mean statuspage and pagerduty would get out of sync. We should handle this by refetching results with higher offsets until there are no more, then returning them all.
If our query for acknowledged pagerduty incidents returns more than 100 results, we'll only look at the first 100. This mean statuspage and pagerduty would get out of sync. We should handle this by refetching results with higher offsets until there are no more, then returning them all.
https://v2.developer.pagerduty.com/docs/pagination
https://github.com/mozilla-services/pagerstatus/blob/master/chalicelib/pagerduty.py#L15-L27