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

use recv() instead of try_recv() #563

Merged
merged 2 commits into from
Oct 23, 2024
Merged

Conversation

b-yap
Copy link
Contributor

@b-yap b-yap commented Oct 23, 2024

Closes #562

I am hopeful that the broadcast channel will NOT run too long, so I'm going back to recv().await.

Also, I reduced the health check from 10 minutes to 5 minutes.
Logged every task as well, once they start. We don't use tokio-console on this anymore, so it's important to see that the tasks have started (especially after the precheck).

Tokio Console:
Screenshot 2024-10-23 at 9 55 59 PM

@b-yap b-yap requested a review from a team October 23, 2024 13:43
Copy link
Member

@ebma ebma left a comment

Choose a reason for hiding this comment

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

Looks great, let's get this merged 👌

@b-yap b-yap merged commit 313c91b into main Oct 23, 2024
2 checks passed
@b-yap b-yap deleted the 562-spawn-listener-tasks-non-blocking branch October 23, 2024 13:58
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.

Spawn listener tasks non-blocking
2 participants