Skip to content
This repository was archived by the owner on Jun 9, 2021. It is now read-only.
This repository was archived by the owner on Jun 9, 2021. It is now read-only.

Trigger build button displays slower as PR's increase #250

@pemercer

Description

@pemercer

Bitbucket 4.14.5
PR Notifier 2.67
Bitbucket DC 5K users

the button definition is retrieved from the REST endpoint

https:///bitbucket/rest/prnfb-admin/1.0/settings/buttons/repository/{repo-num}/pullrequest/{pr-num}

some old PRs do show the button successfully (e.g., PRs 100 and 200). In these cases, the endpoint returns a response in 6-8 seconds in my trials:

https:///bitbucket/rest/prnfb-admin/1.0/settings/buttons/repository/6940/pullrequest/100
https:///bitbucket/rest/prnfb-admin/1.0/settings/buttons/repository/6940/pullrequest/200

Now if you try the same thing for one of the later PRs (I’m using PR 578), it takes 276-287 seconds in my trials to respond.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions