diff --git a/ee/utilities/server.js b/ee/utilities/server.js index 672d27e54..f1209c9ff 100644 --- a/ee/utilities/server.js +++ b/ee/utilities/server.js @@ -78,12 +78,12 @@ if (process.env.uws !== "true") { /* Either onAborted or simply finished request */ - function onAbortedOrFinishedResponse(res, readStream) { + const onAbortedOrFinishedResponse = function (res, readStream) { if (res.id === -1) { - console.log("ERROR! onAbortedOrFinishedResponse called twice for the same res!"); + debug && console.log("ERROR! onAbortedOrFinishedResponse called twice for the same res!"); } else { - console.log('Stream was closed, openStreams: ' + --openStreams); + debug && console.log('Stream was closed'); console.timeEnd(res.id); readStream.destroy(); } diff --git a/scripts/helmcharts/vars.yaml b/scripts/helmcharts/vars.yaml index f4b49dd5c..25d6a67d6 100644 --- a/scripts/helmcharts/vars.yaml +++ b/scripts/helmcharts/vars.yaml @@ -95,6 +95,13 @@ chalice: # idp_name: '' # idp_tenantKey: '' +utilities: + replicaCount: 1 + env: + debug: 0 + uws: false + cluster: false + # If you want to override something # chartname: # filedFrom chart/Values.yaml: