Skip to content

Null-proof channel state retrieval in AbstractMetricsCollector #1598

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

Merged
merged 1 commit into from
May 6, 2025

Conversation

acogoluegnes
Copy link
Contributor

A channel message may have been closed by the time a metrics method is called (e.g. when cancelling a consumer the metrics collector is called after the RPC is completed), so the channel state may no longer be there.

This commit null-proofs methods rely on the channel state retrieval.

Fixes #1592

A channel message may have been closed by the time a metrics method is
called (e.g. when cancelling a consumer the metrics collector is called
after the RPC is completed), so the channel state may no longer be
there.

This commit null-proofs methods rely on the channel state retrieval.

Fixes #1592
@acogoluegnes acogoluegnes merged commit 898d681 into main May 6, 2025
6 checks passed
@acogoluegnes acogoluegnes deleted the null-proof-channel-state-retrieval-in-metrics branch May 6, 2025 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant