Use constant waiting for build container

parent eca7d9fe
......@@ -56,7 +56,7 @@ func (s *commandExecutor) Connect() (terminalsession.Conn, error) {
// `gitlab-terminal` package. There are plans to improve this please take a
// look at and
containerID, err := s.watchForRunningBuildContainer(time.Now().Add(time.Second))
containerID, err := s.watchForRunningBuildContainer(time.Now().Add(waitForContainerTimeout))
if err != nil {
return nil, err
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment