chore: reduce container instances to 32

This commit is contained in:
DIYgod 2026-04-16 12:04:05 +08:00
parent 9604982fe3
commit 046fbc662c
2 changed files with 2 additions and 2 deletions

View File

@ -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';

View File

@ -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