Skip to content

Commit

Permalink
bumped up the timeout duration to be 5 min
Browse files Browse the repository at this point in the history
  • Loading branch information
mye956 committed Sep 12, 2023
1 parent 3584065 commit 896de04
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 14 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions ecs-agent/api/resource/ebs_discovery.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,9 @@ import (
)

const (
ebsnvmeIDTimeoutDuration = 5 * time.Second
ebsnvmeIDTimeoutDuration = 300 * time.Second
ebsResourceKeyPrefix = "ebs-volume:"
ScanPeriod = 500 * time.Millisecond
// ScanPeriod = 300 * time.Second
)

var (
Expand Down
10 changes: 5 additions & 5 deletions ecs-agent/api/resource/ebs_discovery_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ import (
)

type LsblkOutput struct {
BlockDevies []BD `json:"blockdevices"`
BlockDevies []BlockDevice `json:"blockdevices"`
}
type BD struct {
Name string `json:"name"`
Serial string `json:"serial"`
Children []*BD `json:"children,omitempty"`
type BlockDevice struct {
Name string `json:"name"`
Serial string `json:"serial"`
Children []*BlockDevice `json:"children,omitempty"`
}

// type BDChild struct {
Expand Down

0 comments on commit 896de04

Please sign in to comment.