Skip to content
This repository was archived by the owner on Jun 23, 2026. It is now read-only.

Update pyth lazer - #476

Open
SinaKhalili wants to merge 2 commits into
masterfrom
sina/pyth-lazer
Open

Update pyth lazer#476
SinaKhalili wants to merge 2 commits into
masterfrom
sina/pyth-lazer

Conversation

@SinaKhalili

Copy link
Copy Markdown
Contributor

Updates the pyth lazer. The main change is we open multple connections with the numconnections parameter. We then use an event listener to see if they shut down.

Notably, we open multple connections, and then use
an event listener to see if they shut down.
@SinaKhalili

Copy link
Copy Markdown
Contributor Author

Comment on lines +85 to +86
console.log(`All connections to pyth lazer are down`);
this.receivingData = false;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we maybe add a healthy indicator to show that it's unhealthy? then bots can look at it for their own health checks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants