about summary refs log tree commit diff
path: root/ops/secrets/clbot-ssh.age
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2024-04-15T15·46+0300
committerflokli <flokli@flokli.de>2024-04-16T18·45+0000
commit9398bc46b60d809aac679157fe4c491586e649ff (patch)
tree5f350f4ebcc6a7b1ebe5dfac989d7508e61c7d25 /ops/secrets/clbot-ssh.age
parent4d802fa0aefbc22b5f78bf7281c0028ad3bf2fff (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 'ops/secrets/clbot-ssh.age')
0 files changed, 0 insertions, 0 deletions