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

Drop Gossip messages on Thea auth wait loop #818

Merged
merged 2 commits into from
Jun 22, 2023

Conversation

Gauthamastro
Copy link
Member

Describe your changes

Runtime upgrade started the Thea's authority wait-loop, which doesn't consume the gossip message stream; the Substrate internally clones all messages irrespective of the consumer. It is necessary to drop those messages while waiting to avoid memory blowup.

@codecov
Copy link

codecov bot commented Jun 21, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.07 ⚠️

Comparison is base (9ede724) 33.82% compared to head (b7c332a) 33.75%.

Additional details and impacted files
@@             Coverage Diff             @@
##           Develop     #818      +/-   ##
===========================================
- Coverage    33.82%   33.75%   -0.07%     
===========================================
  Files           64       64              
  Lines         4381     4390       +9     
===========================================
  Hits          1482     1482              
- Misses        2899     2908       +9     
Impacted Files Coverage Δ
clients/thea/src/worker.rs 0.00% <0.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@Gauthamastro Gauthamastro merged commit 59a609b into Develop Jun 22, 2023
3 checks passed
@Gauthamastro Gauthamastro deleted the gj-fix-unbouneded-gossip-channel-thea branch June 22, 2023 01:55
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.

None yet

3 participants