From b8392a5fe824eff46f912a58885546e7b0f37e6f Mon Sep 17 00:00:00 2001 From: Owen Jacobson Date: Tue, 1 Oct 2024 22:30:04 -0400 Subject: 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. --- src/repo/mod.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/repo/mod.rs') 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; -- cgit v1.2.3