Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add simplelru resize #6

Merged
merged 1 commit into from
Apr 22, 2020
Merged

feat: add simplelru resize #6

merged 1 commit into from
Apr 22, 2020

Conversation

alanshaw
Copy link

Adds the new Resize interface method and test (from hashicorp@7ca4873) and a go.mod file.

@sysulq
Copy link
Owner

sysulq commented Apr 21, 2020

LGTM

@alanshaw
Copy link
Author

🥳 can has merge & release?

@sysulq sysulq merged commit 82ba7ba into sysulq:master Apr 22, 2020
alanshaw pushed a commit to libp2p/hydra-booster that referenced this pull request Apr 22, 2020
This adds a new flag and env var to allow provider record GC to be disabled: `-disable-prov-gc` / `HYDRA_DISABLE_PROV_GC`.

If GC is _enabled_ it automatically disables provider record GC for all Hydra heads other than the first.

It also renames the `Relay` option to `EnableRelay` to better communicate that it's a boolean flag.

Depends on:

* [x] libp2p/go-libp2p-kad-dht#593
* [x] sysulq/golang-lru#6

fixes #74
@alanshaw alanshaw deleted the feat/add-simplelru-resize branch April 22, 2020 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants