fix: recording time threaded#613
Conversation
65cf043 to
c97fcdc
Compare
| "open_fixed_shared_slots": payload.model_dump(exclude_none=True), | ||
| }, | ||
| ) | ||
|
|
There was a problem hiding this comment.
nit: added these new lines, nice to keep diffs smaller if possible
| if sequence_number >= self._next_sequence_number: | ||
| self._next_sequence_number = sequence_number + 1 |
There was a problem hiding this comment.
Question: how is this possible that you get a sequence number above the next sequence number?
There was a problem hiding this comment.
This was defensive as there were two registries for the next sequence number, i have refactored to create one source of truth for this in the ProducerChannel so thast ownership is clear and not spread or implied.
There was a problem hiding this comment.
yeah the code it very defensive but in the worse way, if there is an issue it drops it silently. this is an inverant we should assert and fail loudly if this is incorrect
There was a problem hiding this comment.
"i have refactored to create one source of truth for this in the ProducerChannel so that ownership is clear and not spread or implied." as above
c97fcdc to
cd67bb8
Compare
3a5beb1 to
e866429
Compare
e866429 to
f326ee0
Compare
Bugfixes