From 3342e9338ca6e91e5300b3cb16fcfb13258e6e1b Mon Sep 17 00:00:00 2001 From: DIYgod Date: Thu, 22 Jan 2026 18:05:05 +0800 Subject: [PATCH] chore: scale container instances to 20 (#10) --- 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 9cc3df5..f19cd3a 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 = 10; +const INSTANCE_COUNT = 20; export class RSSHubContainer extends Container { defaultPort = 1200; diff --git a/wrangler.toml b/wrangler.toml index 511a6bd..b713b52 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-c90e71c3593afdd5b42055e9b3adb59346837544" -max_instances = 10 +max_instances = 20 instance_type = "standard-1" # Durable Object binding for the container