Closed
Bug 635793
Opened 15 years ago
Closed 15 years ago
Speed up admintree.cgi by only including UI to trim logs when passed a query param
Categories
(Webtools Graveyard :: Tinderbox, defect)
Webtools Graveyard
Tinderbox
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: philor, Assigned: jag+mozilla)
References
Details
Attachments
(2 files)
|
3.50 KB,
patch
|
timeless
:
review+
|
Details | Diff | Splinter Review |
|
1.49 KB,
patch
|
Details | Diff | Splinter Review |
Rumor has it that the reason loading http://tinderbox.mozilla.org/admintree.cgi?tree=Firefox takes up to five minutes is the part in http://mxr.mozilla.org/mozilla/source/webtools/tinderbox/admintree.cgi#115 where it stats every log file, 40 days * 20 pushes per day * something like 168 logs per push. We have absolutely no desire to have that UI, and a great desire to have nobody ever use it, since the age of logs we keep is supposed to be controlled by a cron job, not by something some random person with the sheriffpass decides.
In a reasonable world, where Tinderbox is the tool we use on tinderbox.m.o, I'd say (in the form of a patch) to just remove it; in the odd world where we pretend it's a tool that tinderbox.m.o is one user of, perhaps we could only run that chunk when the URL includes &trimbuildsui=1 (or &bereallyslow=1), and otherwise include a link with that in it?
since other mozilla derivative developers occasionally try to set up continuous build systems and generally realize that using tb1 is better than the other ones, i'd rather go with the form where you add the extra param.
| Assignee | ||
Comment 2•15 years ago
|
||
Something like this?
if ($form{bereallyslow} == 1) {
...
} else {
print '<a href="admintree.cgi',
&make_cgi_args(\%form),
'&bereallyslow=1">Be really slow</a><hr>';
}
Well, the link label could say "List logs for deletion (very slow)", but yes.
| Assignee | ||
Comment 4•15 years ago
|
||
| Assignee | ||
Comment 5•15 years ago
|
||
Attachment #514478 -
Flags: review+
| Reporter | ||
Comment 6•15 years ago
|
||
Checking in webtools/tinderbox/admintree.cgi
new revision: 1.43; previous revision: 1.42
Assignee: nobody → jag-mozilla
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Product: Webtools → Webtools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•