Skip to content

Commit 337f0b1

Browse files
Update src/content/compatibility-flags/queue-consumer-no-wait-waituntil.md
Co-authored-by: hyperlint-ai[bot] <154288675+hyperlint-ai[bot]@users.noreply.github.com>
1 parent f1f9a91 commit 337f0b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/compatibility-flags/queue-consumer-no-wait-waituntil.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ enable_flag: "queue_consumer_no_wait_for_wait_until"
1212

1313
By default, [Queue](/queues/) Consumer Workers acknowledge messages only after promises passed to [`ctx.waitUntil()`](/workers/runtime-apis/context) have resolved. This behavior can cause queue consumers which utilize `ctx.waitUntil()` to process messages slowly. The default behavior is documented in the [Queue Consumer Configuration Guide](/queues/configuration/javascript-apis#consumer).
1414

15-
This Consumer Worker is an example of a Worker which utilizes `ctx.waitUntil()`. Under the default behavior, this consumer worker will only acknowledge a batch of after the sleep function has resolved.
15+
This Consumer Worker is an example of a Worker which utilizes `ctx.waitUntil()`. Under the default behavior, this consumer Worker will only acknowledge a batch of after the sleep function has resolved.
1616
```js
1717
export default {
1818
async fetch(request, env, ctx) {

0 commit comments

Comments
 (0)