-
Notifications
You must be signed in to change notification settings - Fork 479
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Standardize access of ShardingOption cache load factor (#1634)
Summary: Pull Request resolved: #1634 Cache params can be `None`, so different places have implementations to retrieve the load factor safely. Make this a property of `ShardingOption` to standardize property access Reviewed By: henrylhtsang Differential Revision: D52804086 fbshipit-source-id: 2949c31d37281dd96cf4d9d167a478b267fbfd40
- Loading branch information
1 parent
4a5dd65
commit 1e6b49d
Showing
4 changed files
with
11 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters