You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Appending a new river:log entry previously decoded the whole historical
array into []logAttempt and then re-encoded it. For large metadata this
creates substantial transient allocations for strings and slices.
Switch middleware internals to decode river:log as []json.RawMessage.
Each run now marshals only the newest entry and re-serializes the raw
entry array while preserving the existing total-cap pruning behavior.
This removes per-entry struct decoding from the append path.
0 commit comments