mirror of
https://github.com/facebook/sapling.git
synced 2024-10-05 14:28:17 +03:00
add a comment
Summary: add a comment explaining the sizes are not random anymore Reviewed By: RajivTS Differential Revision: D52870668 fbshipit-source-id: b6fa3669d5383dadf6913abe42ab2bdf95202ee0
This commit is contained in:
parent
02d5ba54b4
commit
e9f4a03ef4
@ -63,6 +63,7 @@ use crate::middleware::RequestContext;
|
||||
use crate::utils::cbor_stream_filtered_errors;
|
||||
use crate::utils::get_repo;
|
||||
|
||||
// The size is optimized for the batching settings in EdenFs.
|
||||
const MAX_CONCURRENT_FILE_FETCHES_PER_REQUEST: usize = 32;
|
||||
|
||||
const MAX_CONCURRENT_UPLOAD_FILENODES_PER_REQUEST: usize = 1000;
|
||||
|
@ -62,6 +62,7 @@ use crate::utils::custom_cbor_stream;
|
||||
use crate::utils::get_repo;
|
||||
use crate::utils::parse_wire_request;
|
||||
|
||||
// The size is optimized for the batching settings in EdenFs.
|
||||
const MAX_CONCURRENT_TREE_FETCHES_PER_REQUEST: usize = 32;
|
||||
const MAX_CONCURRENT_METADATA_FETCHES_PER_TREE_FETCH: usize = 100;
|
||||
const MAX_CONCURRENT_UPLOAD_TREES_PER_REQUEST: usize = 100;
|
||||
|
Loading…
Reference in New Issue
Block a user