Skip to content

Conversation

@aditya1702
Copy link
Contributor

@aditya1702 aditya1702 commented Nov 18, 2025

What

  • Remove rpc health goroutine from serve process completely.
  • Use direct RPC GetHealth call in channel account service.
  • TrackRPCServiceHealth now sends an error message on context cancellation which is handled by the ingestion process. We exit out of ingestion loop if RPC context is cancelled.

Why

Bug fixes

Known limitations

N/A

Issue that this PR addresses

Closes #285

@aditya1702 aditya1702 marked this pull request as ready for review November 18, 2025 22:16
@aditya1702 aditya1702 requested a review from a team November 19, 2025 15:52
case <-ticker.C:
_, err = s.RPCService.GetHealth()
if err == nil {
break
Copy link
Contributor

Choose a reason for hiding this comment

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

can we use a label on this break? The nested breaks are easy to misinterpret.

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.

Redundant goroutines for tracking RPC health

3 participants