Skip to content

Commit 2ccdd6f

Browse files
authored
implement WASM (#2054)
While the README had been updated in [06fce2b](06fce2b), it was not implemented in the deployment. When enabled, a log line will indicate if WASM is enabled. ``` [main] INFO c.n.s.j.p.options.Webassembly - Webassembly (WASM) environment variable detected and will be used. ```
1 parent 3372853 commit 2ccdd6f

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

charts/synthetics-job-manager/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: synthetics-job-manager
33
description: New Relic Synthetics Containerized Job Manager
44
type: application
5-
version: 3.0.45
5+
version: 3.0.46
66
appVersion: release-494
77
home: https://github.com/orgs/newrelic/teams/proactive-monitoring
88
maintainers:

charts/synthetics-job-manager/templates/deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,10 @@ spec:
7171
{{- end }}
7272
- name: HEAVYWEIGHT_WORKERS
7373
value: {{ include "synthetics-job-manager.runtimeParallelism" . | quote }}
74+
{{- if .Values.synthetics.enableWasm }}
75+
- name: ENABLE_WASM
76+
value: {{ .Values.synthetics.enableWasm | quote }}
77+
{{- end }}
7478

7579
{{- /*
7680
TODO - The following are not yet implemented

charts/synthetics-job-manager/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,9 @@ synthetics:
110110
# hordeApiProxyUsername: ""
111111
# hordeApiProxyPw: ""
112112

113+
## Enable Webassembly for the Node Browser Runtime
114+
# enableWasm: false
115+
113116
## The jvmOpts passes command line options to the internal JVM.
114117
## For more information: https://docs.oracle.com/javase/8/docs/technotes/tools/unix/java.html
115118
# jvmOpts: "-XX:-UsePerfData"

0 commit comments

Comments
 (0)