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

Debug handler #984

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Debug handler #984

wants to merge 1 commit into from

Conversation

mjh1
Copy link
Contributor

@mjh1 mjh1 commented Nov 21, 2023

No description provided.

@@ -9,6 +9,7 @@ import (
"github.com/livepeer/catalyst-api/pipeline"
)

// TODO add back in
// DebugEndpointListenAndServe provides a handler to allow us to check internal state of the app for debugging
func DebugEndpointListenAndServe(port int, vodEngine *pipeline.Coordinator) error {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@iameli this is no longer enabled but we used to have this endpoint to be able to get a snapshot of the current jobs on the app. Previously I just gave it a new port, but do you think it would be safer and more sensible to add the handlers onto the existing internal port 7979?

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.

None yet

1 participant