Skip to content

Conversation

jplatte
Copy link
Member

@jplatte jplatte commented Dec 29, 2024

Closes #3112.

@jplatte jplatte force-pushed the jplatte/serve-fix branch from 6aab90a to 82255dc Compare April 26, 2025 19:58
We should not spawn a tokio task to wait on a signal that can never arrive.
Copy link
Collaborator

@yanns yanns left a comment

Choose a reason for hiding this comment

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

Looking good, but I'm no expert here.

Copy link
Collaborator

@Turbo87 Turbo87 left a comment

Choose a reason for hiding this comment

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

same for me. I assume it would be hard to write tests for this?

@jplatte
Copy link
Member Author

jplatte commented Apr 30, 2025

It wouldn't be that hard to write a test for graceful shutdown, I guess. For the actual fix here though - about the tokio task; I don't know how to do that.

@jplatte jplatte merged commit ac75e2f into main Apr 30, 2025
18 checks passed
@jplatte jplatte deleted the jplatte/serve-fix branch April 30, 2025 12:19
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.

Tasks have lost their wakers

3 participants