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

ctrl+c hangs indefinitely when http server is running #22

Closed
petkodes opened this issue Jul 31, 2023 · 0 comments · Fixed by #29
Closed

ctrl+c hangs indefinitely when http server is running #22

petkodes opened this issue Jul 31, 2023 · 0 comments · Fixed by #29
Assignees

Comments

@petkodes
Copy link
Collaborator

Describe the bug
When Subgraph Radio is started with a SERVER_PORT provided, and I try to stop the Radio with ctrl+c, it hangs indefinitely with Shutting down server...

To Reproduce
Steps to reproduce the behavior:

  1. Run Subgraph Radio (latest dev branch) locally with cargo run -p subgraph-radio
  2. Try to stop the Radio with ctrl+c

Expected behavior
The server should gracefully shutdown, the server port should be freed, and the Radio should exit.

Desktop (please complete the following information):

  • OS: MacOS
  • Version Ventura 13
  • Rust Version rustup 1.26.0

Additional context
Not context but more of a question - will it be an issue if we forcefully shut down the server?

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 a pull request may close this issue.

2 participants