Skip to content

Commit

Permalink
Uncomment Queues config lines in C3 templates
Browse files Browse the repository at this point in the history
  • Loading branch information
kewbish committed Jul 27, 2023
1 parent bfbe49d commit c7a8211
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/create-cloudflare/templates/queues/js/wrangler.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ compatibility_date = "<TBD>"

# Bind a Queue producer. Use this binding to schedule an arbitrary task that may be processed later by a Queue consumer.
# Docs: https://developers.cloudflare.com/queues/get-started
# [[queues.producers]]
[[queues.producers]]
binding = "MY_QUEUE"
queue = "my-queue"

# Bind a Queue consumer. Queue Consumers can retrieve tasks scheduled by Producers to act on them.
# Docs: https://developers.cloudflare.com/queues/get-started
# [[queues.consumers]]
[[queues.consumers]]
queue = "my-queue"
# Optional: Configure batching and retries: https://developers.cloudflare.com/queues/learning/batching-retries/
# max_batch_size = 10
Expand Down
4 changes: 2 additions & 2 deletions packages/create-cloudflare/templates/queues/ts/wrangler.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ compatibility_date = "<TBD>"

# Bind a Queue producer. Use this binding to schedule an arbitrary task that may be processed later by a Queue consumer.
# Docs: https://developers.cloudflare.com/queues/get-started
# [[queues.producers]]
[[queues.producers]]
binding = "MY_QUEUE"
queue = "my-queue"

# Bind a Queue consumer. Queue Consumers can retrieve tasks scheduled by Producers to act on them.
# Docs: https://developers.cloudflare.com/queues/get-started
# [[queues.consumers]]
[[queues.consumers]]
queue = "my-queue"
# Optional: Configure batching and retries: https://developers.cloudflare.com/queues/learning/batching-retries/
# max_batch_size = 10
Expand Down

0 comments on commit c7a8211

Please sign in to comment.