We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec29528 commit 75c89baCopy full SHA for 75c89ba
samples/batch/Invoke-BatchWithRetry.ps1
@@ -17,8 +17,7 @@ function Invoke-BatchWithRetry {
17
foreach ($resp in $result.responses) {
18
"Id : $($resp.id), Status : $($resp.status)" | Out-File -FilePath "Path\To\log.txt" -Append
19
if ($resp.status -eq 429) {
20
- # Add to retry list
21
- $pending = $pending | Where-Object { $_.id -eq $resp.id }
+ # Do nothing - will retry later
22
} else {
23
$responses[$resp.id] = $resp
24
# Remove from pending
0 commit comments