of_octets: create ring buffer earlier to avoid missing data #5
Loading…
Reference in a new issue
No description provided.
Delete branch "fix-of-octets"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This fixes robur/opam-mirror#23
The issue is that at the moment, in opam-mirror we use a single element Lwt_stream. And in of_octets every
read
creates a fresh ring buffer, discarding the previously read data.Nice catch!
still remaining is an issue that git-kv restore takes ~30 minutes for opam-repository on my laptop... I'd hope we can get a 100x speedup somehow ;)
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.