Skip to content
Snippets Groups Projects
Unverified Commit 9224438b authored by Steve Azzopardi's avatar Steve Azzopardi
Browse files

Use constant waiting for build container

parent eca7d9fe
Branches
Tags
No related merge requests found
...@@ -56,7 +56,7 @@ func (s *commandExecutor) Connect() (terminalsession.Conn, error) { ...@@ -56,7 +56,7 @@ func (s *commandExecutor) Connect() (terminalsession.Conn, error) {
// `gitlab-terminal` package. There are plans to improve this please take a // `gitlab-terminal` package. There are plans to improve this please take a
// look at https://gitlab.com/gitlab-org/gitlab-ce/issues/50384#proposal and // look at https://gitlab.com/gitlab-org/gitlab-ce/issues/50384#proposal and
// https://gitlab.com/gitlab-org/gitlab-terminal/issues/4 // https://gitlab.com/gitlab-org/gitlab-terminal/issues/4
containerID, err := s.watchForRunningBuildContainer(time.Now().Add(time.Second)) containerID, err := s.watchForRunningBuildContainer(time.Now().Add(waitForContainerTimeout))
if err != nil { if err != nil {
return nil, err return nil, err
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment