mirror of
https://github.com/weaveworks/scope.git
synced 2026-04-02 08:47:00 +00:00
Fix batching to dynamodb
This commit is contained in:
@@ -236,7 +236,7 @@ func (sc *scanner) deleteOneOrgHour(ctx context.Context, org string, hour int) i
|
||||
for _, key := range keys {
|
||||
delete(key, reportField) // not part of key in dynamoDB
|
||||
}
|
||||
sc.deleteFromDynamoDB(keys)
|
||||
sc.deleteFromDynamoDB(keys[start:end])
|
||||
wait.Done()
|
||||
}(start, end)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user