diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2024-10-01 22:30:04 -0400 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2024-10-01 22:43:14 -0400 |
| commit | b8392a5fe824eff46f912a58885546e7b0f37e6f (patch) | |
| tree | ff4061bbf4be30c53f84c179f86e8e6ab584dbda /src/repo/mod.rs | |
| parent | 7645411bcf7201e3a4927566da78080dc6a84ccf (diff) | |
Track event sequences globally, not per channel.
Per-channel event sequences were a cute idea, but it made reasoning about event resumption much, much harder (case in point: recovering the order of events in a partially-ordered collection is quadratic, since it's basically graph sort). The minor overhead of a global sequence number is likely tolerable, and this simplifies both the API and the internals.
Diffstat (limited to 'src/repo/mod.rs')
| -rw-r--r-- | src/repo/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/repo/mod.rs b/src/repo/mod.rs index cb9d7c8..8f271f4 100644 --- a/src/repo/mod.rs +++ b/src/repo/mod.rs @@ -3,4 +3,5 @@ pub mod error; pub mod login; pub mod message; pub mod pool; +pub mod sequence; pub mod token; |
