Skip to content

Commit cfa13f7

Browse files
committed
Removed http pull consumer limits
1 parent b3a03ce commit cfa13f7

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

src/content/docs/queues/configuration/pull-consumers.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ curl "https://api.cloudflare.com/client/v4/accounts/${CF_ACCOUNT_ID}/queues/${QU
9696
--data '{ "visibility_timeout": 10000, "batch_size": 2 }'
9797
```
9898

99-
You may authenticate and run multiple concurrent pull-based consumers against a single queue, noting that all consumers will share the same [rate limit](/queues/platform/limits/) against the Cloudflare API.
99+
You may authenticate and run multiple concurrent pull-based consumers against a single queue.
100100

101101
### Create API tokens
102102

@@ -248,7 +248,7 @@ Additionally:
248248

249249
- You should provide every `lease_id` in the request to the `/ack` endpoint if you are processing those messages in your consumer. If you do not acknowledge a message, it will be marked for re-delivery (put back in the queue).
250250
- You can optionally mark messages to be retried: for example, if there is an error processing the message or you have upstream resource pressure. Explicitly marking a message for retry will place it back into the queue immediately, instead of waiting for a (potentially long) `visibility_timeout` to be reached.
251-
- You can make multiple calls to the `/ack` endpoint as you make progress through a batch of messages, but we recommend grouping acknowledgements to avoid hitting [API rate limits](/queues/platform/limits/).
251+
- You can make multiple calls to the `/ack` endpoint as you make progress through a batch of messages, but we recommend grouping acknowledgements to reduce the number of API calls required.
252252

253253
Queues aims to be permissive when it comes to lease IDs: if a consumer acknowledges a message by its lease ID _after_ the visibility timeout is reached, Queues will still accept that acknowledgment. If the message was delivered to another consumer during the intervening period, it will also be able to acknowledge the message without an error.
254254

src/content/docs/queues/platform/limits.mdx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,13 @@ import { Render, WranglerConfig } from "~/components"
1818
| Maximum messages per `sendBatch` call | 100 (or 256KB in total) |
1919
| Maximum Batch wait time | 60 seconds |
2020
| Per-queue message throughput | 5,000 messages per second <sup>2</sup> |
21-
| Message retention period <sup>3</sup> | 14 days |
21+
| Message retention period <sup>3</sup> | 4 days (default). [Configurable to 14 days](/queues/configuration/configure-queues#queue-configuration) |
2222
| Per-queue backlog size <sup>4</sup> | 25GB |
2323
| Concurrent consumer invocations | 250 <sup>push-based only</sup> |
2424
| Consumer duration (wall clock time) | 15 minutes <sup>5</sup> |
2525
| [Consumer CPU time](/workers/platform/limits/#cpu-time)| 30 seconds (default). [Configurable to 5 minutes](/queues/platform/limits/#increasing-queue-consumer-worker-cpu-limits) |
2626
| `visibilityTimeout` (pull-based queues) | 12 hours |
2727
| `delaySeconds` (when sending or retrying) | 12 hours |
28-
| Requests to the Queues API (incl. pulls/acks) | [1200 requests / 5 mins](/fundamentals/api/reference/limits/) |
29-
3028

3129

3230
<sup>1</sup> 1 KB is measured as 1000 bytes. Messages can include up to \~100 bytes of internal metadata that counts towards total message limits.

0 commit comments

Comments
 (0)