Skip to content

Commit 48b3c7c

Browse files
committed
add more routes to the "expensive" list
Signed-off-by: Steven Noonan <[email protected]>
1 parent 0f66814 commit 48b3c7c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

routers/common/blockexpensive.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,11 @@ func isRoutePathExpensive(routePattern string) bool {
4444
"/{username}/{reponame}/blame/",
4545
"/{username}/{reponame}/commit/",
4646
"/{username}/{reponame}/commits/",
47+
"/{username}/{reponame}/compare/",
4748
"/{username}/{reponame}/graph",
4849
"/{username}/{reponame}/media/",
4950
"/{username}/{reponame}/raw/",
51+
"/{username}/{reponame}/rss/branch/",
5052
"/{username}/{reponame}/src/",
5153

5254
// issue & PR related (no trailing slash)

0 commit comments

Comments
 (0)