diff options
author | Florian Klink <flokli@flokli.de> | 2024-04-15T15·46+0300 |
---|---|---|
committer | flokli <flokli@flokli.de> | 2024-04-16T18·45+0000 |
commit | 9398bc46b60d809aac679157fe4c491586e649ff (patch) | |
tree | 5f350f4ebcc6a7b1ebe5dfac989d7508e61c7d25 /tvix/build/protos/build.proto | |
parent | 4d802fa0aefbc22b5f78bf7281c0028ad3bf2fff (diff) |
refactor(tvix/castore/blob/naive_seeker): rework skipping for clarity r/7944
Increase the discard_buf to 4096 (as I've seen this size). Use the ready! macro to propagate pendings. Make it more clear what exactly should be skipped in total, and what during the current iteration. Also write down that poll_read call already takes care of updating self.pos, as I ran into that trap earlier (and added it here). Change-Id: I2d22e1c8a835c0f3dd0c648917009b2bad4fd57c Reviewed-on: https://cl.tvl.fyi/c/depot/+/11442 Reviewed-by: raitobezarius <tvl@lahfa.xyz> Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/build/protos/build.proto')
0 files changed, 0 insertions, 0 deletions