Skip to content

Commit

Permalink
adding disable clustering support
Browse files Browse the repository at this point in the history
  • Loading branch information
Mzack9999 committed Jul 4, 2023
1 parent 85d6af3 commit f3d4216
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v2/pkg/protocols/network/request.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func (request *Request) ExecuteWithResults(input *contextargs.Context, metadata,
for _, kv := range request.addresses {
actualAddress := replacer.Replace(kv.address, variables)

if visitedAddressess.Has(actualAddress) {
if visitedAddressess.Has(actualAddress) && !request.options.Options.DisableClustering {
continue
}
visitedAddressess.Set(actualAddress, struct{}{})
Expand Down

0 comments on commit f3d4216

Please sign in to comment.