From 089a5d24833a16cc91f13316a5580f3972f15cf9 Mon Sep 17 00:00:00 2001 From: Chris Sauve Date: Sun, 7 Apr 2024 22:05:46 -0400 Subject: [PATCH] Adjust some wrangler settings --- .../tmdb-refresher-scheduler/configuration/wrangler.toml | 5 +---- functions/tmdb-refresher/configuration/wrangler.toml | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/functions/tmdb-refresher-scheduler/configuration/wrangler.toml b/functions/tmdb-refresher-scheduler/configuration/wrangler.toml index 8ee8f218..5a94f4ed 100644 --- a/functions/tmdb-refresher-scheduler/configuration/wrangler.toml +++ b/functions/tmdb-refresher-scheduler/configuration/wrangler.toml @@ -10,10 +10,7 @@ workers_dev = false # @see https://developers.cloudflare.com/workers/wrangler/configuration/#triggers [triggers] # Every 12 hours -crons = ["0 */12 * * *", "*/5 * * * *"] - -[limits] -cpu_ms = 500 +crons = ["0 */12 * * *"] # @see https://developers.cloudflare.com/queues/configuration/ [[queues.producers]] diff --git a/functions/tmdb-refresher/configuration/wrangler.toml b/functions/tmdb-refresher/configuration/wrangler.toml index c18d0602..b96e32f0 100644 --- a/functions/tmdb-refresher/configuration/wrangler.toml +++ b/functions/tmdb-refresher/configuration/wrangler.toml @@ -12,7 +12,7 @@ workers_dev = false queue = "watch-tmdb-refresher" max_batch_size = 10 max_batch_timeout = 30 -max_retries = 10 +max_retries = 3 # Needs the following environment variables: # - DATABASE_URL