Skip to content

Commit

Permalink
feat: add a feature flag to control a memory leak fix
Browse files Browse the repository at this point in the history
This memory leak fix is experimental and the flag allows us to roll
back without a code change.
  • Loading branch information
deeno35 committed Sep 6, 2024
1 parent 64af473 commit bb986af
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions modules/bigeye/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2120,6 +2120,7 @@ locals {
FF_ANALYTICS_LOGGING_ENABLED = var.datawatch_feature_analytics_logging_enabled
FF_QUEUE_BACKFILL_ENABLED = "true"
FF_SEND_ANALYTICS_ENABLED = var.datawatch_feature_analytics_send_enabled
FF_JVM_MEMORY_LEAK_FIX_ENABLED = var.datawatch_feature_jvm_memory_leak_fix
REQUEST_AUTH_LOGGING_ENABLED = var.datawatch_request_auth_logging_enabled
REQUEST_BODY_LOGGING_ENABLED = var.datawatch_request_body_logging_enabled

Expand Down
7 changes: 7 additions & 0 deletions modules/bigeye/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -1855,6 +1855,13 @@ variable "datawatch_feature_analytics_send_enabled" {
default = false
}

variable "datawatch_feature_jvm_memory_leak_fix" {
description = "This flag can be set to true to turn on a JVM option to resolve a memory leak"
type = bool
default = false
}


variable "datawatch_request_body_logging_enabled" {
description = "Whether request body logs are enabled"
type = bool
Expand Down

0 comments on commit bb986af

Please sign in to comment.