diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2025-02-13 10:39:54 +0200 |
---|---|---|
committer | Francois Kritzinger <francois@codesynthesis.com> | 2025-02-13 14:03:11 +0200 |
commit | 8d25b6e3a07c0879c483a185ba5a2990640e585f (patch) | |
tree | 1af4eb39a33271d2182acf43476f9e1d65a9d31a /mod/mod-ci-github.cxx | |
parent | 71b7cda94d211eb5b2aa3641eb44cdd8502d0a7a (diff) |
ci-github: Create check runs in batches
Doing too many at a time increases the odds of getting a HTTP 502 (bad
gateway) response from GitHub and it also decreases the odds of all check runs
getting created if we do end up getting a 502 response.
Diffstat (limited to 'mod/mod-ci-github.cxx')
-rw-r--r-- | mod/mod-ci-github.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/mod-ci-github.cxx b/mod/mod-ci-github.cxx index 5570beb..8242fc0 100644 --- a/mod/mod-ci-github.cxx +++ b/mod/mod-ci-github.cxx @@ -1309,7 +1309,7 @@ namespace brep // a single request (unless something goes wrong) so store them together // from the outset. // - vector<check_run> check_runs (2); + brep::check_runs check_runs (2); check_run& bcr (check_runs[0]); // Build check run check_run& ccr (check_runs[1]); // Conclusion check run @@ -2328,7 +2328,7 @@ namespace brep // The builds for which we will be creating check runs. // vector<reference_wrapper<const build>> bs; - vector<check_run> crs; // Parallel to bs. + brep::check_runs crs; // Parallel to bs. // Exclude the builds for which we won't be creating check runs. // |