Skip to content

Commit

Permalink
Add find_missing cache to oss re client
Browse files Browse the repository at this point in the history
Summary:
We are trying to avoid calling too many ``find_missing`` for duplicated digests when uploading. This feature originally should enabled on cas daemon but seems missing on oss version. We are seeing 2-4x improvement on the longest re_upload time and aggregated uploading time.

X-link: facebook/buck2#644

Reviewed By: samkevich

Differential Revision: D57474151

Pulled By: JakobDegen

fbshipit-source-id: 2fa28a9ca2c6cfd8a70622483c985793f4f409aa
  • Loading branch information
miaoyipu authored and facebook-github-bot committed May 18, 2024
1 parent c2efeda commit 0f21c66
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions shim/third-party/rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ linked-hash-map = { version = "0.5", features = ["serde_impl"] }
linkme = { version = "0.3.17", features = ["used_linker"] }
log = "0.4"
logos = "0.12"
lru = "0.12.3"
lsp-server = "0.7.2"
lsp-types = "0.94.1"
maplit = "1.0.2"
Expand Down

0 comments on commit 0f21c66

Please sign in to comment.