fix(server): signup/signin logic (#4008)

This commit is contained in:
LongYinan
2023-08-29 19:22:56 +08:00
committed by GitHub
parent a046cdafa3
commit 54574e5cc3
8 changed files with 39 additions and 9 deletions

View File

@@ -63,9 +63,9 @@ const createHelmCommand = ({ isDryRun }) => {
`--set-json sync.service.annotations=\"{ \\"cloud.google.com/neg\\": \\"{\\\\\\"ingress\\\\\\": true}\\" }\"`,
]
: [];
const webReplicaCount = isProduction ? 3 : isBeta ? 2 : 1;
const graphqlReplicaCount = isProduction ? 3 : isBeta ? 2 : 1;
const syncReplicaCount = isProduction ? 6 : isBeta ? 3 : 1;
const webReplicaCount = isProduction ? 3 : isBeta ? 2 : 2;
const graphqlReplicaCount = isProduction ? 3 : isBeta ? 2 : 2;
const syncReplicaCount = isProduction ? 6 : isBeta ? 3 : 2;
const namespace = isProduction ? 'production' : isBeta ? 'beta' : 'dev';
const deployCommand = [
`helm upgrade --install affine .github/helm/affine`,