mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
mononoke: decrease getfiles buffer
Summary: Looks like we shouldn't have raised in the first place. Big getfiles buffer causes OOMs on the servers. Also memory profiling shows that quite often most of the Mononoke server's memory is used for serving remotefilelog requests. Reviewed By: purplefox Differential Revision: D9601990 fbshipit-source-id: 356a65d0749b064486436fb737bd5a47b3beecfa
This commit is contained in:
parent
4021018efc
commit
904e4ee900
@ -681,7 +681,7 @@ impl HgCommands for RepoClient {
|
||||
info!(logger, "getfiles");
|
||||
|
||||
let this = self.clone();
|
||||
let getfiles_buffer_size = 10000; // TODO(stash): make it configurable
|
||||
let getfiles_buffer_size = 100; // TODO(stash): make it configurable
|
||||
params
|
||||
.map(move |(node, path)| {
|
||||
let args = format!("node: {}, path: {}", node, path);
|
||||
|
Loading…
Reference in New Issue
Block a user