Skip to content

Commit

Permalink
Silence excessive logging
Browse files Browse the repository at this point in the history
Summary:
## This stack

Track and down methods that are holding up the reactor and optimize them.

## This diff

I committed this override by mistake; let's fix it.

Reviewed By: lmvasquezg

Differential Revision: D66874737

fbshipit-source-id: 120a8da72736ca2e02919ec5b1a75442da19ff03
  • Loading branch information
andreacampi authored and facebook-github-bot committed Dec 6, 2024
1 parent 5ccdbce commit 08bb9e9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions eden/mononoke/mononoke_api/src/repo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1311,7 +1311,6 @@ impl<R: MononokeRepo> RepoContext<R> {
let maybe_cs_id = cache
.get(&self.ctx, &bookmark_name)
.watched(self.ctx.logger())
.with_max_poll(50)
.await?;
Ok(maybe_cs_id.map(|cs_id| (bookmark_name.into_string(), cs_id)))
}
Expand All @@ -1326,7 +1325,6 @@ impl<R: MononokeRepo> RepoContext<R> {
cache
.list(&self.ctx, &prefix, &pagination, limit)
.watched(self.ctx.logger())
.with_max_poll(50)
.await?,
)
.map(|(bookmark, (cs_id, _kind))| Ok((bookmark.into_string(), cs_id)))
Expand Down

0 comments on commit 08bb9e9

Please sign in to comment.