Skip to content

Commit da3822d

Browse files
authored
internal/debug: fix log memory limit format (#33336)
1 parent 6f2cbb7 commit da3822d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/debug/api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ func (*HandlerT) SetGCPercent(v int) int {
252252
// - Geth also allocates memory off-heap, particularly for fastCache and Pebble,
253253
// which can be non-trivial (a few gigabytes by default).
254254
func (*HandlerT) SetMemoryLimit(limit int64) int64 {
255-
log.Info("Setting memory limit", "size", common.PrettyDuration(limit))
255+
log.Info("Setting memory limit", "size", common.StorageSize(limit))
256256
return debug.SetMemoryLimit(limit)
257257
}
258258

0 commit comments

Comments
 (0)