Closed
Bug 653041
Opened 15 years ago
Closed 15 years ago
HgPoller should have a maximum number of changes
Categories
(Release Engineering :: General, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: catlee, Assigned: catlee)
References
Details
Attachments
(2 files)
|
9.90 KB,
patch
|
rail
:
review+
|
Details | Diff | Splinter Review |
|
10.25 KB,
patch
|
rail
:
review+
catlee
:
checked-in+
|
Details | Diff | Splinter Review |
In bug 653029, we had around 60k new changes that got pulled in from the refresh of the mozilla-beta repo. It took a long time to process all those changes.
20:38 < dustin|gone> so I think the gitpoller now has a limit at which point it says "and some other changes" and doesn't read them
20:38 < catlee> but yeah, making the poller do that makes sense
would be better if HgPoller had an upper bound on how many changes it returns at once. Is the only reason we don't do something like tipsonly for non-try is so that we trigger jobs for individual pushes that happen between polls?
| Assignee | ||
Updated•15 years ago
|
Assignee: nobody → catlee
Priority: -- → P2
| Assignee | ||
Comment 1•15 years ago
|
||
This patch makes it so the poller adds at most 100 changes every time it polls. This should be enough for most normal pushes, and protects us against insane pushes of entire repos.
It also exposes the repo_branch variable so that the try poller can pay attention to all branches instead of just default.
Attachment #528854 -
Flags: review?(rail)
Comment 2•15 years ago
|
||
Comment on attachment 528854 [details] [diff] [review]
Implement maxChanges
Looks good.
Attachment #528854 -
Flags: review?(rail) → review+
| Assignee | ||
Comment 3•15 years ago
|
||
Same as before, just with enabling tipsonly. Not sure which one we should land yet.
Attachment #529715 -
Flags: review?(rail)
Updated•15 years ago
|
Attachment #529715 -
Flags: review?(rail) → review+
| Assignee | ||
Updated•15 years ago
|
Attachment #529715 -
Flags: checked-in+
| Assignee | ||
Updated•15 years ago
|
Flags: needs-reconfig?
| Assignee | ||
Updated•15 years ago
|
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
| Assignee | ||
Updated•15 years ago
|
Flags: needs-reconfig?
Updated•13 years ago
|
Product: mozilla.org → Release Engineering
You need to log in
before you can comment on or make changes to this bug.
Description
•