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

Heuristics for when node or client is offline #6

Closed
mitra42 opened this issue Dec 22, 2024 · 1 comment
Closed

Heuristics for when node or client is offline #6

mitra42 opened this issue Dec 22, 2024 · 1 comment
Milestone

Comments

@mitra42
Copy link
Owner

mitra42 commented Dec 22, 2024

We want an indication of when a node, previously displayed, is offline.

  • The idea is that we listen for something - this might be for a node, the discovery message, or for the client, just any message from the client.
  • This then sets a lastseen field to the time
  • And keeps a record of how often seen (in milliseconds)
  • When it hasn't been seen for a time that exceeds some multiple of the typical frequency then its marked in grey
  • The actual determination would be a function running on the Node and on the Client, so the could be tuned differently.
@mitra42
Copy link
Owner Author

mitra42 commented Dec 27, 2024

Done but see #9

@mitra42 mitra42 closed this as completed Dec 27, 2024
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

No branches or pull requests

1 participant