From b83a333d80f7784a5ae75c1c42cfe1c4b2f0ba62 Mon Sep 17 00:00:00 2001 From: Ben Hardill Date: Wed, 18 Oct 2023 10:03:10 +0100 Subject: [PATCH] Update kubernetes.js Co-authored-by: Nick O'Leary --- kubernetes.js | 1 + 1 file changed, 1 insertion(+) diff --git a/kubernetes.js b/kubernetes.js index 1fcef2e..de78e5c 100644 --- a/kubernetes.js +++ b/kubernetes.js @@ -470,6 +470,7 @@ const createProject = async (project, options) => { } catch (err) { counter++ if (counter > this._k8sRetries) { + clearInterval(pollInterval) this._app.log.error(`[k8s] Project ${project.id} - timeout waiting for Ingress`) reject(new Error('Timed out to creating Ingress')) }