sapling/configerator/structs/scm/mononoke
Harvey Hunt a58a9e805e mononoke: lfs server: Disable compression dynamically
Summary:
During S231236 the LFS servers were using a lot of CPU and were
compressing blobs sent to clients.  Thomas hotfixed the servers to disable
compression in order to save some CPU. Instead of having to rebuild and
redeploy the LFS server, update it to be able to disable compression using
configerator.

The `disable_compression` option will disable compression of downloads
globally. The `disable_compression_identities` allows us to disable compression
for some group of identities.

I also refactored some of the shared code from `download` and `download_sha256`
into a new function, `download_inner`.

Reviewed By: krallin

Differential Revision: D28382405

fbshipit-source-id: 792f10a9e3bb32b56ef87aa8e0b2c4b098567579
2021-05-14 02:39:00 -07:00
..
blobimport autocargo v2: rollout and replace v1 in all use-cases 2021-03-02 06:43:29 -08:00
fastreplay Daily common/rust/cargo_from_buck/bin/autocargo 2021-04-22 05:12:20 -07:00
hgserverconf Daily common/rust/cargo_from_buck/bin/autocargo 2021-04-22 05:12:20 -07:00
lfs_server mononoke: lfs server: Disable compression dynamically 2021-05-14 02:39:00 -07:00
loadshedding Daily common/rust/cargo_from_buck/bin/autocargo 2021-04-22 05:12:20 -07:00
megarepo Daily common/rust/cargo_from_buck/bin/autocargo 2021-04-22 05:12:20 -07:00
observability Daily common/rust/cargo_from_buck/bin/autocargo 2021-04-22 05:12:20 -07:00
pushredirect Daily common/rust/cargo_from_buck/bin/autocargo 2021-04-22 05:12:20 -07:00
qps Daily common/rust/cargo_from_buck/bin/autocargo 2021-04-22 05:12:20 -07:00
repos Daily common/rust/cargo_from_buck/bin/autocargo 2021-04-22 05:12:20 -07:00
tunables Daily common/rust/cargo_from_buck/bin/autocargo 2021-04-22 05:12:20 -07:00
xdb_gc Daily common/rust/cargo_from_buck/bin/autocargo 2021-04-22 05:12:20 -07:00