From ef32d4ea3f47d1d29b43266ff862ede59b7e2729 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=87=8E=E5=A3=B0?= Date: Sat, 25 Nov 2023 18:23:28 +0800 Subject: [PATCH] fix: prod use another queue --- wrangler.tpl.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wrangler.tpl.toml b/wrangler.tpl.toml index bfc2a5ca..fec36e65 100644 --- a/wrangler.tpl.toml +++ b/wrangler.tpl.toml @@ -31,11 +31,11 @@ kv_namespaces = [{ binding = "KV", id = "{{KV_PROD_ID}}" }] [[analytics_engine_datasets]] binding = "metricsDataset" -[[queues.producers]] +[[env.prod.queues.producers]] queue = "{{QUEUE_NAME_PROD}}" binding = "MESSAGE_QUEUE" -[[queues.consumers]] +[[env.prod.queues.consumers]] queue = "{{QUEUE_NAME_PROD}}" max_batch_size = 10 max_batch_timeout = 1