diff --git a/charts/provider-inventory/Chart.yaml b/charts/provider-inventory/Chart.yaml index 8ae04a52..1ee3b4d1 100644 --- a/charts/provider-inventory/Chart.yaml +++ b/charts/provider-inventory/Chart.yaml @@ -14,7 +14,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.1 +version: 0.1.2 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. diff --git a/charts/provider-inventory/templates/deployment-providers-sync.yaml b/charts/provider-inventory/templates/deployment-providers-sync.yaml index 21cdbfd7..7dfec2f0 100644 --- a/charts/provider-inventory/templates/deployment-providers-sync.yaml +++ b/charts/provider-inventory/templates/deployment-providers-sync.yaml @@ -37,6 +37,11 @@ spec: value: {{ .Chart.Name }}-{{ .Values.chain }}-providers-sync - name: INTERFACE value: "providers-sync" + # see comment for details https://github.com/nodejs/node/issues/22468#issuecomment-416795256 + # usually it's recommended to set this variable to number of CPU cores, + # but in case of provider inventory we can have a lot of idle time while waiting for messages from providers, so we can benefit from having more threads in the pool + - name: UV_THREADPOOL_SIZE + value: 64 resources: {{- toYaml .Values.providersSync.resources | nindent 12 }} readinessProbe: diff --git a/charts/provider-inventory/values.yaml b/charts/provider-inventory/values.yaml index c5a9536f..b0bd0bbf 100644 --- a/charts/provider-inventory/values.yaml +++ b/charts/provider-inventory/values.yaml @@ -21,7 +21,7 @@ providersSync: limits: cpu: 1 ephemeral-storage: 200Mi - memory: 1Gi + memory: 2Gi requests: cpu: 500m ephemeral-storage: 100Mi