about summary refs log tree commit diff
path: root/tvix/nar-bridge/pkg/server/nar_put.go
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-09-17T18·47+0300
committerflokli <flokli@flokli.de>2023-09-18T14·02+0000
commit0c031461c3732fd925668a22a042aa5f1b2764f3 (patch)
treeda678eb24f15169e5a4510fbb775f461ef808792 /tvix/nar-bridge/pkg/server/nar_put.go
parent136b12ddd7d4fa32c25e907a52a7f49a449601ed (diff)
fix(tvix/nar-bridge): chunk blobs r/6610
Instead of creating one big BlobChunk containing all data, and creating
way too large proto messages, chunk blobs up to a reasonable (1MiB)
chunk size, and send them to the server like that.

Change-Id: Ia45a53956a6d7c0599cc59ac516ba37e9fb1b30e
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9357
Reviewed-by: Connor Brewster <cbrewster@hey.com>
Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/nar-bridge/pkg/server/nar_put.go')
0 files changed, 0 insertions, 0 deletions