Commit 78214b6
Sort session events by auto-incrementing id
Events may share the same `created_at` timestamp if they were created in
the same second. An out of sync system time could also lead to
inconsistent sorting -- which would eventually cause a panic when
replaying the session.
Co-authored-by: Mshehu5 <[email protected]>1 parent 92dc5ec commit 78214b6
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
152 | | - | |
| 152 | + | |
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
| |||
0 commit comments