Open
Bug 1821546
Opened 2 years ago
Updated 2 years ago
document and investigate all TH API calls that take >2 seconds to return
Categories
(Tree Management :: Treeherder, task)
Tree Management
Treeherder
Tracking
(Not tracked)
NEW
People
(Reporter: jmaher, Unassigned)
References
(Blocks 1 open bug)
Details
I suspect many API's:
- are dead (remove these and related code)
- are fast, but funky input slows them down (do better input checks)
- are slow (work to optimize)
- vary depending on input (work to restrict input)
even fixing half of the issues we find could result in less headaches in the future when Treeherder is under heavy load or being scanned by a security scan.
| Reporter | ||
Comment 1•2 years ago
|
||
you can see some apis here:
https://treeherder.mozilla.org/api/
I see a server error 500 with this:
https://treeherder.mozilla.org/api/taskclustermetadata/
- code: https://github.com/mozilla/treeherder/blob/27d503067490e169a2059214b05de410f01a85e6/treeherder/webapp/api/urls.py#L98
- general search: https://github.com/search?q=repo%3Amozilla%2Ftreeherder%20taskclustermetadata&type=code
I suspect there are other apis, look around in treeherder/webapp/api/urls.py file for reference to other apis that might not be used.
You need to log in
before you can comment on or make changes to this bug.
Description
•