From 8b0dd3c067b8e3899ebe11e7de7d0e9a3ce0fa0e Mon Sep 17 00:00:00 2001 From: fengmk2 Date: Thu, 12 Jun 2025 21:04:37 +0800 Subject: [PATCH] fix(server): increase doc-service liveness probe timeout from 1s to 5s (#12804) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit yjs operations may take more than 1 second before ![image](https://github.com/user-attachments/assets/feb7e375-ea73-4f5f-84f2-d85934f94844) after ![image](https://github.com/user-attachments/assets/e760ee1f-a1c6-4f9d-8dbc-a4796efbd77a) #### PR Dependency Tree * **PR #12804** 👈 This tree was auto-generated by [Charcoal](https://github.com/danerwilliams/charcoal) ## Summary by CodeRabbit - **New Features** - Added configurable timeout settings for liveness and readiness probes in Helm chart deployments, allowing users to specify probe timeout duration. --- .github/helm/affine/charts/doc/templates/deployment.yaml | 2 ++ .github/helm/affine/charts/doc/values.yaml | 1 + 2 files changed, 3 insertions(+) diff --git a/.github/helm/affine/charts/doc/templates/deployment.yaml b/.github/helm/affine/charts/doc/templates/deployment.yaml index 246b1a55cd..0665932791 100644 --- a/.github/helm/affine/charts/doc/templates/deployment.yaml +++ b/.github/helm/affine/charts/doc/templates/deployment.yaml @@ -95,11 +95,13 @@ spec: path: /info port: http initialDelaySeconds: {{ .Values.probe.initialDelaySeconds }} + timeoutSeconds: {{ .Values.probe.timeoutSeconds }} readinessProbe: httpGet: path: /info port: http initialDelaySeconds: {{ .Values.probe.initialDelaySeconds }} + timeoutSeconds: {{ .Values.probe.timeoutSeconds }} resources: {{- toYaml .Values.resources | nindent 12 }} {{- with .Values.nodeSelector }} diff --git a/.github/helm/affine/charts/doc/values.yaml b/.github/helm/affine/charts/doc/values.yaml index 1220255c3b..264f51ae4d 100644 --- a/.github/helm/affine/charts/doc/values.yaml +++ b/.github/helm/affine/charts/doc/values.yaml @@ -36,6 +36,7 @@ resources: probe: initialDelaySeconds: 20 + timeoutSeconds: 5 nodeSelector: {} tolerations: []