a more robust system for syncing chunks

as long as the server tells you there are more chunks, there are definitely more chunks.
just wait for them a bit.
This commit is contained in:
りき萌 2024-08-17 22:16:31 +02:00
parent 2f7bcbb14e
commit 2594afcc1b
6 changed files with 57 additions and 49 deletions

View file

@ -208,6 +208,7 @@ class Session extends EventTarget {
Object.assign(new Event("chunks"), {
chunkInfo: notify.chunks,
chunkData,
hasMore: notify.hasMore,
}),
);
}