From 209eedc1e565da9ff88d75071d7c8033f34aa367 Mon Sep 17 00:00:00 2001 From: nightwhite Date: Wed, 17 Jul 2024 06:59:01 +0000 Subject: [PATCH] fix: Fixed the problem that the probe startup is prone to failure --- server/src/instance/instance.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/instance/instance.service.ts b/server/src/instance/instance.service.ts index 6e80867c22..27806823c2 100644 --- a/server/src/instance/instance.service.ts +++ b/server/src/instance/instance.service.ts @@ -367,10 +367,10 @@ export class InstanceService { port: 'http', httpHeaders: [{ name: 'Referer', value: 'readinessProbe' }], }, - initialDelaySeconds: 0, + initialDelaySeconds: 10, periodSeconds: 60, timeoutSeconds: 3, - failureThreshold: 1, + failureThreshold: 10, }, securityContext: { allowPrivilegeEscalation: false,