Skip to content

Commit f1f9a91

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 22a2a05 commit f1f9a91

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
@@ -35,4 +35,4 @@ function sleep(ms) {
3535

3636
If the `queue_consumer_no_wait_for_wait_until` flag is enabled, Queue consumers will no longer wait for promises passed to `ctx.waitUntil()` to resolve before acknowledging messages. This can improve the performance of queue consumers which utilize `ctx.waitUntil()`. With the flag enabled, in the above example, the consumer Worker will acknowledge the batch without waiting for the sleep function to resolve.
3737

38-
Using this flag will not affect the behavior of `ctx.waitUntil()`. `ctx.waitUntil()` will continue to extend the lifetime of your consumer worker, to continue to work even after the batch of messages has been acknowledged.
38+
Using this flag will not affect the behavior of `ctx.waitUntil()`. `ctx.waitUntil()` will continue to extend the lifetime of your consumer Worker, to continue to work even after the batch of messages has been acknowledged.

0 commit comments

Comments
 (0)