Skip to content

Commit

Permalink
Remove unused/old justknobs (4/n): commit_cloud_use_background_sessio…
Browse files Browse the repository at this point in the history
…n_class

Summary:
This stack removes justknobs that:
- Were part of a rollout that has long been completed
- Are set in tests but never in code

Reviewed By: mitrandir77

Differential Revision: D67792380

fbshipit-source-id: e5ab6e879f291788838a2c228845d03c6a1a1eab
  • Loading branch information
Clara Rull authored and facebook-github-bot committed Jan 3, 2025
1 parent d4bb801 commit ef8af7d
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions eden/mononoke/repo_client/unbundle/src/resolver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1030,14 +1030,7 @@ impl<'r, R: Repo> Bundle2Resolver<'r, R> {
.await?;

let mut ctx = self.ctx.clone();
if is_infinitepush
&& justknobs::eval(
"scm/mononoke:commit_cloud_use_background_session_class",
None,
None,
)
.unwrap_or_default()
{
if is_infinitepush {
ctx.session_mut()
.override_session_class(SessionClass::BackgroundUnlessTooSlow);
}
Expand Down

0 comments on commit ef8af7d

Please sign in to comment.