Skip to content

Commit

Permalink
Deprecate one more ENV
Browse files Browse the repository at this point in the history
  • Loading branch information
ardecvz committed Dec 28, 2023
1 parent 6e53ba2 commit f62bcf5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions anycable-go/templates/env-secret.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,9 @@ data:
{{- if .anycableMetricsLog }}
ANYCABLE_METRICS_LOG: {{ .anycableMetricsLog | toString | b64enc | quote }} # {{ .anycableMetricsLog }}
{{- end }}
{{- if .anycableMetricsRotateInterval }}
ANYCABLE_METRICS_ROTATE_INTERVAL: {{ .anycableMetricsRotateInterval | toString | b64enc | quote }} # {{ .anycableMetricsRotateInterval }}
{{- end }}
{{- if .anycableMetricsLogInterval }}
ANYCABLE_METRICS_LOG_INTERVAL: {{ .anycableMetricsLogInterval | toString | b64enc | quote }} # {{ .anycableMetricsLogInterval }}
{{- end }}
Expand Down Expand Up @@ -216,9 +219,6 @@ data:
{{- if .anycableDisableDisconnect }}
ANYCABLE_DISABLE_DISCONNECT: {{ .anycableDisableDisconnect | toString | b64enc | quote }} # {{ .anycableDisableDisconnect }}
{{- end }}
{{- if .anycableMetricsRotateInterval }}
ANYCABLE_METRICS_ROTATE_INTERVAL: {{ .anycableMetricsRotateInterval | toString | b64enc | quote }} # {{ .anycableMetricsRotateInterval }}
{{- end }}
{{- if .anycableReadBufferSize }}
ANYCABLE_READ_BUFFER_SIZE: {{ .anycableReadBufferSize | toString | b64enc | quote }} # {{ .anycableReadBufferSize }}
{{- end }}
Expand Down
8 changes: 4 additions & 4 deletions anycable-go/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,10 @@ env:
# Enable metrics logging (with info level)
anycableMetricsLog: ""

# Specify how often flush metrics logs (in seconds)
# Specify how often flush metrics to writers (logs, statsd) (in seconds), default: 15
anycableMetricsRotateInterval: "15"

# [DEPRECATED] Specify how often flush metrics logs. Use anycableMetricsRotateInterval instead
anycableMetricsLogInterval: "15"

# Specify the path to custom Ruby formatter script (only supported on MacOS and Linux)
Expand Down Expand Up @@ -352,9 +355,6 @@ env:
# [DEPRECATED] Disable calling Disconnect callback. Use anycableDisconnectMode=never instead.
anycableDisableDisconnect: "false"

# Specify how often flush metrics to writers (logs, statsd) (in seconds), default: 15
anycableMetricsRotateInterval: "15"

# WebSocket connection read buffer size, default: 1024
anycableReadBufferSize: "1024"

Expand Down

0 comments on commit f62bcf5

Please sign in to comment.