From 28b939e6d8f03bf3808283963ee99dc5d6fb9d57 Mon Sep 17 00:00:00 2001 From: DarkSky <25152247+darkskygit@users.noreply.github.com> Date: Wed, 30 Jul 2025 17:16:13 +0800 Subject: [PATCH] chore(server): down scale service (#13367) ## Summary by CodeRabbit * **Chores** * Reduced the number of deployment replicas for web, graphql, sync, renderer, and doc components across all build types (stable, beta, canary). --- .github/actions/deploy/deploy.mjs | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/actions/deploy/deploy.mjs b/.github/actions/deploy/deploy.mjs index 4a67287af6..4ba6249757 100644 --- a/.github/actions/deploy/deploy.mjs +++ b/.github/actions/deploy/deploy.mjs @@ -29,25 +29,25 @@ const isInternal = buildType === 'internal'; const replicaConfig = { stable: { - web: 3, - graphql: Number(process.env.PRODUCTION_GRAPHQL_REPLICA) || 3, - sync: Number(process.env.PRODUCTION_SYNC_REPLICA) || 3, - renderer: Number(process.env.PRODUCTION_RENDERER_REPLICA) || 3, - doc: Number(process.env.PRODUCTION_DOC_REPLICA) || 3, + web: 2, + graphql: Number(process.env.PRODUCTION_GRAPHQL_REPLICA) || 2, + sync: Number(process.env.PRODUCTION_SYNC_REPLICA) || 2, + renderer: Number(process.env.PRODUCTION_RENDERER_REPLICA) || 2, + doc: Number(process.env.PRODUCTION_DOC_REPLICA) || 2, }, beta: { - web: 2, - graphql: Number(process.env.BETA_GRAPHQL_REPLICA) || 2, - sync: Number(process.env.BETA_SYNC_REPLICA) || 2, - renderer: Number(process.env.BETA_RENDERER_REPLICA) || 2, - doc: Number(process.env.BETA_DOC_REPLICA) || 2, + web: 1, + graphql: Number(process.env.BETA_GRAPHQL_REPLICA) || 1, + sync: Number(process.env.BETA_SYNC_REPLICA) || 1, + renderer: Number(process.env.BETA_RENDERER_REPLICA) || 1, + doc: Number(process.env.BETA_DOC_REPLICA) || 1, }, canary: { - web: 2, - graphql: 2, - sync: 2, - renderer: 2, - doc: 2, + web: 1, + graphql: 1, + sync: 1, + renderer: 1, + doc: 1, }, };