forked from Keelrleek/SoulStream
playlists + lyrics: setlists with pages of their own, and the words timed to the voice
This commit is contained in:
1 parent
c4ff6269a3
commit
df3d15553a
49 files changed
+14419
-599
No files matched your search
@@ -93,8 +93,11 @@ async fn run_parent(inner: &Arc<Inner>, mut stream: TcpStream) -> std::io::Resul
|
||||
responder::respond_to_search(inner.clone(), username, token, query);
|
||||
}
|
||||
Ok(dist::DistributedEvent::BranchLevel(level)) => {
|
||||
// Report our level (parent + 1) to the server.
|
||||
let _ = inner.send_server(server::branch_level(level + 1));
|
||||
// Report our level (parent + 1) to the server. Saturating: the
|
||||
// level is a peer-supplied u32, and one parent really did send
|
||||
// a value at the top of the range — `+ 1` panicked this worker
|
||||
// (debug overflow checks) mid-session on 2026-08-14.
|
||||
let _ = inner.send_server(server::branch_level(level.saturating_add(1)));
|
||||
}
|
||||
Ok(dist::DistributedEvent::BranchRoot(root)) => {
|
||||
let _ = inner.send_server(server::branch_root(&root));
|
||||
|
||||
Reference in new issue
Block a user