Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions scenarios/project/handle.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,13 @@ import (
)

const (
defaultClientHost = "localhost"
defaultClientReadyTimeout = 15 * time.Second
defaultClientHost = "localhost"
// Generous to absorb cold project-server startup: a from-source build must
// boot the language runtime and import the harness before it listens, which
// can take well over 5s on a loaded CI runner. The loop below exits as soon
// as the port accepts a connection, so a healthy server still proceeds
// immediately; this only raises the ceiling before we give up.
defaultClientReadyTimeout = 60 * time.Second
defaultClientReadyCheckInterval = 100 * time.Millisecond
)

Expand Down
Loading