Skip to content

Commit

Permalink
cas: let's specify the behaviour explicitly
Browse files Browse the repository at this point in the history
Summary:
let's specify the behaviour explicitly

not actually sure that the defaults are what we need, the behaviour wasn't as expected and seems like setting this up fixes it

Reviewed By: muirdm

Differential Revision: D65912126

fbshipit-source-id: ad3eefe359a66691a77a99862f9aed1512c359f3
  • Loading branch information
Liubov Dmitrieva authored and facebook-github-bot committed Nov 14, 2024
1 parent 5288e24 commit 89ab540
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion eden/scm/lib/cas-client/rich-client/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,9 @@ impl RichCasClient {
remote_cache_config.large_files = RemoteFetchPolicy::REMOTE_FETCH;
}
CasCacheModeLocalFetch::AllRemote => {
// this is the default behavior
remote_cache_config.mode = RemoteCacheManagerMode::ALL_FILES;
remote_cache_config.small_files = RemoteFetchPolicy::REMOTE_FETCH;
remote_cache_config.large_files = RemoteFetchPolicy::REMOTE_FETCH;
}
}
}
Expand Down

0 comments on commit 89ab540

Please sign in to comment.