Slow Button Rendering
Opened this issue · 2 comments
Hi Tomas,
I have noticed in the logs a lot of entries related to button. We have only 1 button in each repository and each time we open a pull request overview page we get in the logs (DEBUG mode) a lot of below entries from DefaultPullRequestRefHelper - 615 more specifically. This might explain why the button rendering is slow or not rendered at all for big projects.
atlassian-bitbucket.log
2019-11-27 10:28:52,189 DEBUG [http-nio-7990-exec-8] XXX @J2NF85x628x106224x0 1rr8mrj x.x.x.x "GET /rest/prnfb-admin/1.0/settings/buttons/repository/161/pullrequest/596 HTTP/1.1" c.a.s.i.s.g.p.DefaultPullRequestRefHelper DEVINF/jenkinsbuildscripts[161]:596@20: Resolved effective diff from 201e44a8401bc3839f786a0e66e61fbfccce8494 to 1b1cd18e11f609faf2d696970ae2fbcd9a2344e2 (CLEAN)
grep @J2NF85x628x106224x0 atlassian-bitbucket.log | wc -l 615
atlassian-bitbucket-access.log
grep @J2NF85x628x106224x0 atlassian-bitbucket-access.log x.x.x.x | https | i@J2NF85x628x106224x0 | - | 2019-11-27 10:28:26,899 | "GET /rest/prnfb-admin/1.0/settings/buttons/repository/161/pullrequest/596 HTTP/1.1" | "https://x.x.x.x/projects/DEVINF/repos/jenkinsbuildscripts/pull-requests/596/overview" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Firefox/60.0" | - | - | - | - | - | 1rr8mrj | x.x.x.x | https | o@J2NF85x628x106224x0 | XXX | 2019-11-27 10:28:52,734 | "GET /rest/prnfb-admin/1.0/settings/buttons/repository/161/pullrequest/596 HTTP/1.1" | "https://x.x.x.x/projects/DEVINF/repos/jenkinsbuildscripts/pull-requests/596/overview" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Firefox/60.0" | 200 | 0 | 261 | - | 25835 | 1rr8mrj |
- Plugin version used. - 4.1
- Bitbucket Server version used. - 6.6.0
Button Configuration
@mirceapopro have you found a solution so far?
@r4d1um unfortunately we have not.