mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 00:45:18 +03:00
b6bbd21600
Summary: We've had a few sevs where expensive derivation for a single repo overloaded our backends. This diff adds a tunable that makes it possible to quickly cancel all derivations for a given repo. And one important caveat - it doesn't only cancel derivations for a given repo, it also cancels the initial commit traversal stage which can be quite expensive. Note that it cancells all derivations for a given repo, at the moment there's no way to cancel deriving just a single derived data type. I'd like to add it, but in the next diffs since it might require changing the tunables - they don't support tuning a list of strings for a given repo. Besides, having a way to quickly disable all derivations for a given repo might be useful anyway. Reviewed By: farnz Differential Revision: D29028444 fbshipit-source-id: 559917e0e25eb060fe5be77a412bfec4ac3f1779 |
||
---|---|---|
.. | ||
src | ||
tunables-derive | ||
Cargo.toml |