MCPcopy Create free account
hub / github.com/AI45Lab/Code / with_search_concurrency

Method with_search_concurrency

core/src/workspace/s3.rs:369–376  ·  view source on GitHub ↗

Override the per-search download concurrency. `0` resets to default.

(mut self, n: usize)

Source from the content-addressed store, hash-verified

367
368 /// Override the per-search download concurrency. `0` resets to default.
369 pub fn with_search_concurrency(mut self, n: usize) -> Self {
370 self.search_concurrency = if n == 0 {
371 DEFAULT_SEARCH_CONCURRENCY
372 } else {
373 n
374 };
375 self
376 }
377
378 /// Active per-search download concurrency.
379 pub fn search_concurrency(&self) -> usize {

Callers 1

newMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected