Skip to content

Commit

Permalink
chore: switch GIN to release mode (#433)
Browse files Browse the repository at this point in the history
Signed-off-by: gatici <[email protected]>
  • Loading branch information
gatici authored Dec 12, 2024
1 parent 3d9e4e4 commit c9f65e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,7 @@ def _environment_variables(self) -> dict:
"GRPC_TRACE": "all",
"GRPC_VERBOSITY": "debug",
"MANAGED_BY_CONFIG_POD": "true",
"GIN_MODE": "release",
}

def _nrf_service_is_running(self) -> bool:
Expand Down
1 change: 1 addition & 0 deletions tests/unit/test_charm_configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ def test_given_config_pushed_when_configure_then_pebble_plan_is_applied(
"GRPC_TRACE": "all",
"GRPC_VERBOSITY": "debug",
"MANAGED_BY_CONFIG_POD": "true",
"GIN_MODE": "release",
},
}
},
Expand Down

0 comments on commit c9f65e9

Please sign in to comment.