diff --git a/cmd/scan.go b/cmd/scan.go index aa03f51ee..1a63bcc4b 100644 --- a/cmd/scan.go +++ b/cmd/scan.go @@ -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{ diff --git a/go.mod b/go.mod index cb16b0c4b..f07626cb0 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/rebuy-de/aws-nuke/v2 go 1.19 require ( - github.com/aws/aws-sdk-go v1.44.230 + github.com/aws/aws-sdk-go v1.44.235 github.com/fatih/color v1.15.0 github.com/golang/mock v1.6.0 github.com/google/uuid v1.3.0 diff --git a/go.sum b/go.sum index 6ba78b85f..22c15ceeb 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,5 @@ -github.com/aws/aws-sdk-go v1.44.230 h1:dcn7TjLyx/31I+0XytMGYRxDc756BRUzsSYVcSyKZlk= -github.com/aws/aws-sdk-go v1.44.230/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8Phjh7fkwI= +github.com/aws/aws-sdk-go v1.44.235 h1:5MS1ZW1Pr27mmHFqqjuXYwGMlNTW/g6DqU5ekamPMeU= +github.com/aws/aws-sdk-go v1.44.235/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8Phjh7fkwI= github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=