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

Disconnect behavior and status endpoint #141

Open
nampereira opened this issue May 31, 2023 · 1 comment
Open

Disconnect behavior and status endpoint #141

nampereira opened this issue May 31, 2023 · 1 comment
Labels
discussion enhancement New feature or request

Comments

@nampereira
Copy link
Contributor

Disconnect behavior
We should have the library implement a couple of disconnect behaviors: (1) retry on disconnect; (2) exit on disconnect.

A reasonable default could be to retry and check an env variable to change the behavior to exit ?

Status endpoint
Somewhat related is sending a report status on some standard topic (e.g. scene_topic/p/<program-id>/status). Essentially just reporting if the program is alive and some status/data that could be useful for debugging (list of users/objects, ...) ?

These could be periodic or triggered by a message on the topic.

@nampereira nampereira added enhancement New feature or request discussion labels May 31, 2023
@EdwardLu2018
Copy link
Member

Added a way to reconnect in f8e5a7e, but need to add an option to disable reconnects and add status endpoint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants