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

Add topic inspector #20

Merged
merged 1 commit into from
Dec 8, 2021
Merged

Add topic inspector #20

merged 1 commit into from
Dec 8, 2021

Conversation

hannahhoward
Copy link
Collaborator

Goals

In Graphsync we are working to get more in depth diagnostics on ongoing requests for a given peer. One thing we'd like is to be able to get insight into is which requests are in the different peer tasks queues. This method adds a tool to get expose this information, primarily for debugging purposes in a higher level library.

Implementation

  • Define and add method on PeerTracker
  • Expose in PeerTaskQueue

add a method to inspect the active and pending topics for a given peer
@hannahhoward hannahhoward merged commit 43d83d4 into master Dec 8, 2021
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