Repository navigation
Commit 44d0dce
authored
fix(github_graphql): stop requesting unused descriptionHTML for releases (#9248)
The release extractor fills github_releases.description_html from
description and never reads descriptionHTML, but the collector still
asks GitHub for it. Rendering release notes to HTML for a full page of
100 releases can exceed GitHub's GraphQL time limit on repositories with
long release notes: the API returns 502/504, the three retries hit the
same limit, and Collect Releases fails with "pageInfo is nil".
On a repository with 86 releases and ~437 KB of release notes, the
current query returned 502 after ~11s; without descriptionHTML the same
page of 100 returns in ~2.2s.1 parent 56ca347 commit 44d0dce
1 file changed
Lines changed: 15 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
76 | 75 | | |
77 | 76 | | |
78 | 77 | | |
| |||
0 commit comments