Skip to content

Commit

Permalink
chore: unify log level
Browse files Browse the repository at this point in the history
  • Loading branch information
KimMachineGun committed Apr 16, 2024
1 parent 0d817db commit 31f7ab0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion memlimit/memlimit.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ func SetGoMemLimitWithOpts(opts ...Option) (_ int64, _err error) {
ratio := cfg.ratio
if val, ok := os.LookupEnv(envAUTOMEMLIMIT); ok {
if val == "off" {
cfg.logger.Debug("AUTOMEMLIMIT is set to off, skipping")
cfg.logger.Info("AUTOMEMLIMIT is set to off, skipping")
return 0, nil
}
_ratio, err := strconv.ParseFloat(val, 64)
Expand Down

0 comments on commit 31f7ab0

Please sign in to comment.