Skip to content

Commit d99e38e

Browse files
committed
fix: correct default value for HTTP GitHub check configuration
- Updated the default value for the SESAME_HEALTH_ENABLE_HTTP_CHECK environment variable from 'true' to 'false' to align with intended behavior. - This change ensures that the HTTP check is disabled by default unless explicitly enabled by the user.
1 parent 9829dc1 commit d99e38e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

apps/api/src/core/health/health-snapshot.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const HEAP_MEMORY_THRESHOLD_MB = resolveThresholdMb('SESAME_HEALTH_HEAP_THRESHOL
3636
const RSS_MEMORY_THRESHOLD_MB = resolveThresholdMb('SESAME_HEALTH_RSS_THRESHOLD_MB', { dev: 3072, prod: 1024 })
3737
const NATIVE_MEMORY_DERIVE_MIN_SAMPLES = 6
3838
const NATIVE_MEMORY_DERIVE_MIN_GROWTH_MB = resolveThresholdMb('SESAME_HEALTH_NATIVE_DERIVE_MIN_GROWTH_MB', { dev: 256, prod: 128 })
39-
const ENABLE_HTTP_GITHUB_CHECK = !/^(false|0|off|no)$/i.test(`${process.env.SESAME_HEALTH_ENABLE_HTTP_CHECK || 'true'}`)
39+
const ENABLE_HTTP_GITHUB_CHECK = !/^(false|0|off|no)$/i.test(`${process.env.SESAME_HEALTH_ENABLE_HTTP_CHECK || 'false'}`)
4040

4141
export type HealthSnapshotPayload = HealthCheckResult & {
4242
system: {

documentation/sesame-doc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit 60185967451b00977ca033fbca0d5c8174d934f4

0 commit comments

Comments
 (0)