buck2 icon indicating copy to clipboard operation
buck2 copied to clipboard

Separate max file size and decoding size handling in oss re client

Open TheGrizzlyDev opened this issue 9 months ago • 0 comments

Before it was possible to set a total file size for all the RE's IO API that exceed tonic's default max-decoding size of 4MB. Matter of fact, because the default limit is 4MB for both this happened by default with files of comulative size close to or equal to the limit. Example:

genrule(
    name = "large_download",
    out = "out.txt",
    cmd = "dd if=/dev/zero of=$OUT bs=4M count=1",
)

PS: Please be nice, this is my first time contribution both here and in rust :)

TheGrizzlyDev avatar May 08 '24 13:05 TheGrizzlyDev