There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
chore: adjust the request memory size and replica count (#5046)
LongYinan42f4045ad6e3
diff --git a/.github/actions/deploy/deploy.mjs b/.github/actions/deploy/deploy.mjsindex 43d0855df8..64baadd937 100644--- a/.github/actions/deploy/deploy.mjs+++ b/.github/actions/deploy/deploy.mjs@@ -68,8 +68,8 @@ const createHelmCommand = ({ isDryRun }) => {]: [];const webReplicaCount = isProduction ? 3 : isBeta ? 2 : 2;- const graphqlReplicaCount = isProduction ? 10 : isBeta ? 10 : 2;- const syncReplicaCount = isProduction ? 10 : isBeta ? 10 : 2;+ const graphqlReplicaCount = isProduction ? 10 : isBeta ? 5 : 2;+ const syncReplicaCount = isProduction ? 10 : isBeta ? 5 : 2;const namespace = isProduction ? 'production' : isBeta ? 'beta' : 'dev';// eslint-disable-next-line @typescript-eslint/no-non-null-assertionconst host = DEPLOY_HOST || CANARY_DEPLOY_HOST;diff --git a/.github/helm/affine/charts/graphql/templates/deployment.yaml b/.github/helm/affine/charts/graphql/templates/deployment.yamlindex d1c7f27c69..593824db68 100644--- a/.github/helm/affine/charts/graphql/templates/deployment.yaml+++ b/.github/helm/affine/charts/graphql/templates/deployment.yaml@@ -35,6 +35,8 @@ spec:key: key- name: NODE_ENVvalue: "{{ .Values.env }}"+ - name: NODE_OPTIONS+ value: "--max-old-space-size=4096"- name: NO_COLORvalue: "1"- name: SERVER_FLAVORdiff --git a/.github/helm/affine/charts/graphql/values.yaml b/.github/helm/affine/charts/graphql/values.yamlindex f0a8ab4948..2353c3939b 100644--- a/.github/helm/affine/charts/graphql/values.yaml+++ b/.github/helm/affine/charts/graphql/values.yaml@@ -72,11 +72,8 @@ podSecurityContext:fsGroup: 2000resources:- limits:- cpu: '4'- memory: 8Girequests:- cpu: '2'+ cpu: '4'memory: 4Giprobe: