Skip to content

Commit d434926

Browse files
maheshwaripOxyjun
andauthored
Update src/content/compatibility-flags/queue-consumer-no-wait-waituntil.md
Co-authored-by: Jun Lee <[email protected]>
1 parent 337f0b1 commit d434926

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
@@ -10,7 +10,7 @@ experimental: true
1010
enable_flag: "queue_consumer_no_wait_for_wait_until"
1111
---
1212

13-
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).
13+
By default, [Queues](/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 [Queues Consumer Configuration Guide](/queues/configuration/javascript-apis#consumer).
1414

1515
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

0 commit comments

Comments
 (0)