Commit e751e72
committed
fix(oc): replace hex dump of ByteString fields with size summary in gRPC logging
Large ByteString values (e.g. image payloads) were being fully hex-encoded
and logged, causing excessive memory allocation and log output that degraded
image processing performance. Now logs just the byte count instead.
Signed-off-by: Brandon McAnsh <git@bmcreations.dev>1 parent 3f5fcba commit e751e72
1 file changed
Lines changed: 1 addition & 1 deletion
File tree
- services/opencode/src/main/kotlin/com/getcode/opencode/utils/logging
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
| 138 | + | |
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| |||
0 commit comments