Skip to content

Commit

Permalink
CL-540 | Lower concurrent resource list requests temporarily (for clo…
Browse files Browse the repository at this point in the history
…udcontrol) (#1)

* Bump github.com/aws/aws-sdk-go from 1.44.230 to 1.44.235 (rebuy-de#972)

Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.44.230 to 1.44.235.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Commits](aws/aws-sdk-go@v1.44.230...v1.44.235)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Decrement parallel list req semaphore weight/count from 16 to 2

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
2 people authored and sstoops committed Apr 25, 2023
1 parent 067c6ba commit 548938f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/scan.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"golang.org/x/sync/semaphore"
)

const ScannerParallelQueries = 16
const ScannerParallelQueries = 2

func Scan(region *Region, resourceTypes []string) <-chan *Item {
s := &scanner{
Expand Down

0 comments on commit 548938f

Please sign in to comment.