I've noticed that the plugin looks up all branches of a repository to get the only needed one during the startup phase of a build. This happens here and is based on a bug in Gitea which has been fixed many years ago so the loop can be removed.
I've noticed that the plugin looks up all branches of a repository to get the only needed one during the startup phase of a build. This happens here and is based on a bug in Gitea which has been fixed many years ago so the loop can be removed.
Created a PR to fix this: https://github.com/jenkinsci/gitea-plugin/pull/29