Add latest changes from gitlab-org/gitlab@master

This commit is contained in:
GitLab Bot
2024-10-07 15:13:46 +00:00
parent f84bebbaed
commit d578562461
136 changed files with 1270 additions and 401 deletions

View File

@ -471,7 +471,8 @@ module Gitlab
end
def find_build_by_token(token)
::Gitlab::Database::LoadBalancing::Session.current.use_primary do
::Gitlab::Database::LoadBalancing::SessionMap
.with_sessions([::ApplicationRecord, ::Ci::ApplicationRecord]).use_primary do
::Ci::AuthJobFinder.new(token: token).execute
end
end