chore: reduce max instances from 20 to 10 (#6)

This commit is contained in:
DIYgod 2026-01-21 21:17:55 +08:00 committed by GitHub
parent c691a04c7b
commit 9408bf6598
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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 = 20;
const INSTANCE_COUNT = 10;
export class RSSHubContainer extends Container {
defaultPort = 1200;

View File

@ -14,7 +14,7 @@ enabled = true
[[containers]]
class_name = "RSSHubContainer"
image = "registry.cloudflare.com/CLOUDFLARE_ACCOUNT_ID/rsshub:9aa55f54afc463b353acd59e49bd543dea788eea"
max_instances = 20
max_instances = 10
instance_type = "standard-1"
# Durable Object binding for the container