From c29ed408169efd710101f71994aba8b674670d8d Mon Sep 17 00:00:00 2001 From: cahe Date: Thu, 14 Mar 2024 17:52:00 -0300 Subject: [PATCH] fix api response time --- kustomize/mycrd.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kustomize/mycrd.yaml b/kustomize/mycrd.yaml index 4e0cfef..78b78f2 100644 --- a/kustomize/mycrd.yaml +++ b/kustomize/mycrd.yaml @@ -76,12 +76,12 @@ spec: volumes: - name: app-script-volume configMap: - name: app-script-config-8 + name: app-script-config-9 --- apiVersion: v1 kind: ConfigMap metadata: - name: app-script-config-8 + name: app-script-config-9 data: app.py: | #! /bin/python3 @@ -90,7 +90,7 @@ data: class GetHandler(BaseHTTPRequestHandler): def do_GET(self): - sleep(1) + sleep(60) x = self.wfile.write self.send_response(200) self.send_header("Content-type", "text/html")