FluidFramework icon indicating copy to clipboard operation
FluidFramework copied to clipboard

gitrest: Allow enforcing file size write limits

Open znewton opened this issue 2 years ago • 1 comments

Description

For reliability, it is important that we can prevent summary uploads to Redis that are too large to safely handle. This PR adds the functionality and configuration option to limit writeFile size in RedisFs.

Additionally, we need to protect the service from writing too large of files. After a file is written in compressed format, it is difficult to know how large it will be when unpacked. In severe cases, unpacking a too-compressed summary blob can kill the service by using too much memory. This PR adds write limits for the default FS as well.

znewton avatar Jan 18 '24 20:01 znewton

Re-opening with expanded scope

znewton avatar Apr 18 '24 18:04 znewton