From 020f4418687d46cb43043fd4e85087a0ff32c351 Mon Sep 17 00:00:00 2001 From: Geon Kim Date: Wed, 10 Jan 2024 01:24:20 +0900 Subject: [PATCH] chore(memlimit): log when system experiment is enabled --- memlimit/memlimit.go | 1 + 1 file changed, 1 insertion(+) diff --git a/memlimit/memlimit.go b/memlimit/memlimit.go index bd50a8c..97f3f62 100644 --- a/memlimit/memlimit.go +++ b/memlimit/memlimit.go @@ -97,6 +97,7 @@ func SetGoMemLimitWithOpts(opts ...Option) (_ int64, _err error) { return 0, fmt.Errorf("failed to parse experiments: %w", err) } if exps.System { + cfg.logger.Println("system experiment is enabled: using system memory limit as a fallback") cfg.provider = ApplyFallback(cfg.provider, FromSystem) }