Skip to content

Commit 69bc3c3

Browse files
committed
CF KVS API calls have a limit of 50 keys
1 parent 6e191e1 commit 69bc3c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tooling/docs-assembler/Cli/DeployCommands.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ public async Task<int> UpdateRedirects(
174174
.Select(k => new DeleteKeyRequestListItem { Key = k });
175175

176176
ConsoleApp.Log("Updating redirects in KVS");
177-
const int batchSize = 500;
177+
const int batchSize = 50;
178178

179179
eTag = await ProcessBatchUpdatesAsync(kvsClient, kvsArn, eTag, toPut, batchSize, KvsOperation.Puts, ctx);
180180
_ = await ProcessBatchUpdatesAsync(kvsClient, kvsArn, eTag, toDelete, batchSize, KvsOperation.Deletes, ctx);

0 commit comments

Comments
 (0)