-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Bogo eviction * Decrement cache size * Replace Hashmap with Vec * Bring back allow eviction * Insert before allowing eviction * Abstract partitions away (#2) * move partitions to their own type * drop guards manually * remove interned methods * remove unused methods * add safety guarantees * Re-add Cargo.lock * Remove unused test functions * Remove some hooks relics * traverse the table until we can evict something * retry eviction * remove unused import * improve eviction logs * decrease the number of partitions * add number of partitions to the tangle config * avoid zero partitions * fix clippy lints * Nits * Config nits * move max retries to a constant * Revert to match Co-authored-by: Christian Poveda <31802960+pvdrz@users.noreply.github.com> Co-authored-by: Christian Poveda <christian.poveda@iota.org>
- Loading branch information
1 parent
ac794b4
commit e0b9ad3
Showing
6 changed files
with
195 additions
and
131 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.