Skip to content

Commit 248fb0c

Browse files
gustavoavenameta-codesync[bot]
authored andcommitted
repos_manager: Reducing concurrency from 15 to 10
Summary: reducing to 15 in D89545544 still wasn't enough, so let me try one last time reducing it to 10, to unblock a release bc the prod release is currently **very old**. If this doesn't work, I'll wait for jagg to take a look when he's back on Monday. Reviewed By: RajivTS Differential Revision: D90020982 fbshipit-source-id: 7b71bee3394385b2c050aef135a371822cdb6bb3
1 parent f0bc56e commit 248fb0c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

eden/mononoke/cmdlib/mononoke_app/src/repos_manager.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -219,8 +219,8 @@ impl<Repo> MononokeReposManager<Repo> {
219219
anyhow::Ok((repo_id, repo_name, repo))
220220
})
221221
})
222-
// Repo construction can be heavy, 15 at a time is sufficient.
223-
.buffer_unordered(15)
222+
// Repo construction can be heavy, 10 at a time is sufficient.
223+
.buffer_unordered(10)
224224
.map(|r| anyhow::Ok(r??))
225225
.try_collect::<Vec<_>>()
226226
.await?;
@@ -358,8 +358,8 @@ where
358358
anyhow::Ok((repo_id, repo_name, repo))
359359
})
360360
})
361-
// Repo construction can be heavy, 15 at a time is sufficient.
362-
.buffer_unordered(15)
361+
// Repo construction can be heavy, 10 at a time is sufficient.
362+
.buffer_unordered(10)
363363
.map(|r| anyhow::Ok(r??))
364364
.try_collect::<Vec<_>>()
365365
.await?;

0 commit comments

Comments
 (0)