Skip to content

Commit

Permalink
Improve reliability of shell connection
Browse files Browse the repository at this point in the history
We received a few reports of timeouts trying to connect to the SSM
agent. This bumps up the timeout from 20s to 40s.
  • Loading branch information
ipmb committed Oct 28, 2021
1 parent ab9d7e1 commit 6788c5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ func (a *App) CreateEcsSession(task ecs.Task, shellCmd string) (*ecs.Session, er
Interactive: aws.Bool(true),
Task: task.TaskArn,
}
retries := 10
retries := 20
// it takes some time for the SSM agent to startup
// poll for availability
for retries > 0 {
Expand Down

0 comments on commit 6788c5c

Please sign in to comment.