From 046fbc662cf29b426ab120afe6570985a1fbc351 Mon Sep 17 00:00:00 2001 From: DIYgod Date: Thu, 16 Apr 2026 12:04:05 +0800 Subject: [PATCH] chore: reduce container instances to 32 --- src/index.ts | 2 +- wrangler.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index ed1bdd8..74ad530 100644 --- a/src/index.ts +++ b/src/index.ts @@ -4,7 +4,7 @@ import { Container } from '@cloudflare/containers'; import type { KVNamespace } from '@cloudflare/workers-types'; -const INSTANCE_COUNT = 60; +const INSTANCE_COUNT = 32; const FAILURE_REASON_LIMIT = 160; const RSSHUB_ROUTE_HEADER = 'X-RSSHub-Route'; const UNKNOWN_ROUTE = 'unknown'; diff --git a/wrangler.toml b/wrangler.toml index 1e98263..90bca45 100644 --- a/wrangler.toml +++ b/wrangler.toml @@ -14,7 +14,7 @@ enabled = true [[containers]] class_name = "RSSHubContainer" image = "registry.cloudflare.com/CLOUDFLARE_ACCOUNT_ID/rsshub:chromium-bundled-1d7f3dc8fcfc02a33f354b5db42cd290301d525a" -max_instances = 60 +max_instances = 32 instance_type = "standard-1" # Durable Object binding for the container