Skip to content

Commit 70c55f3

Browse files
committed
Try reducing default max conncurrent requests
1 parent b7e395b commit 70c55f3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nativelink-util/src/connection_manager.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ impl ConnectionManager {
136136
.collect();
137137

138138
if max_concurrent_requests == 0 {
139-
max_concurrent_requests = usize::MAX;
139+
max_concurrent_requests = 100;
140140
}
141141
if connections_per_endpoint == 0 {
142142
connections_per_endpoint = 1;
@@ -313,6 +313,7 @@ impl ConnectionManagerWorker {
313313
.then_some(())
314314
.and_then(|()| self.available_channels.pop_front())
315315
{
316+
debug!(reason, "ConnectionManager: request running");
316317
self.provide_channel(channel, tx);
317318
} else {
318319
debug!(

0 commit comments

Comments
 (0)