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

Remove stale PeerIDs in hivemind-dht's routing table #525

Merged
merged 4 commits into from
Nov 29, 2022

Conversation

borzunov
Copy link
Member

@borzunov borzunov commented Nov 29, 2022

Before this PR, hivemind-dht-based initial peers collected lots of stale PeerIDs and other peers could not actually make DHT queries anymore.

borzunov and others added 2 commits November 29, 2022 07:53
Co-authored-by: justheuristic <[email protected]>
@codecov
Copy link

codecov bot commented Nov 29, 2022

Codecov Report

Merging #525 (f5856b9) into master (1e4af43) will increase coverage by 0.01%.
The diff coverage is 0.00%.

❗ Current head f5856b9 differs from pull request most recent head f8c4466. Consider uploading reports for the commit f8c4466 to get more accurate results

@@            Coverage Diff             @@
##           master     #525      +/-   ##
==========================================
+ Coverage   75.97%   75.99%   +0.01%     
==========================================
  Files          81       81              
  Lines        7960     7962       +2     
==========================================
+ Hits         6048     6051       +3     
+ Misses       1912     1911       -1     
Impacted Files Coverage Δ
hivemind/hivemind_cli/run_dht.py 0.00% <0.00%> (ø)
hivemind/dht/node.py 90.99% <0.00%> (+0.71%) ⬆️

@borzunov borzunov merged commit be88b42 into master Nov 29, 2022
@borzunov borzunov deleted the healthy-hivemind-dht branch November 29, 2022 04:26
mryab pushed a commit that referenced this pull request Nov 29, 2022
Before this PR, hivemind-dht-based initial peers collected lots of stale PeerIDs and other peers could not actually make DHT queries anymore.

(cherry picked from commit be88b42)
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