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 46c6a25 commit 4f90932Copy full SHA for 4f90932
workers/controller/src/index.ts
@@ -92,6 +92,10 @@ async function handlePurgeRequest(
92
// sendBatch only allows for a maximum of 100 messages.
93
const promises: ReturnType<typeof env.CACHE_PURGE_TAG.sendBatch>[] = [];
94
for (const messageChunks of chunks(messages, 100)) {
95
+ console.debug(
96
+ "[Cache Purge Request] Send Batch",
97
+ messageChunks.map(({ body }) => body),
98
+ );
99
promises.push(env.CACHE_PURGE_TAG.sendBatch(messageChunks));
100
}
101
0 commit comments