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

ensure that storm httpapis tear down runtime tasks if the remote disconnects #1889

Merged
merged 5 commits into from
Sep 24, 2020

Conversation

vEpiphyte
Copy link
Contributor

No description provided.

@vEpiphyte vEpiphyte added the bug label Sep 24, 2020
@vEpiphyte vEpiphyte added this to the 2.9.0 milestone Sep 24, 2020
@codecov
Copy link

codecov bot commented Sep 24, 2020

Codecov Report

Merging #1889 into master will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1889   +/-   ##
=======================================
  Coverage   96.53%   96.54%           
=======================================
  Files         139      139           
  Lines       26058    26062    +4     
=======================================
+ Hits        25156    25162    +6     
+ Misses        902      900    -2     
Flag Coverage Δ
#linux 96.54% <100.00%> (+<0.01%) ⬆️
#linux_replay 71.11% <50.00%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
synapse/lib/httpapi.py 94.77% <100.00%> (+0.03%) ⬆️
synapse/lib/lmdbslab.py 99.48% <0.00%> (-0.11%) ⬇️
synapse/lib/spawn.py 96.42% <0.00%> (+0.97%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c6fabfd...95961f7. Read the comment docs.

@@ -300,11 +300,16 @@ async def data_received(self, chunk):

class StormNodesV1(Handler):

def on_connection_close(self):
if self.task:
Copy link
Contributor

Choose a reason for hiding this comment

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

This should be if self.task is not None no?

@vEpiphyte vEpiphyte merged commit 9c945cd into master Sep 24, 2020
@vEpiphyte vEpiphyte deleted the bug_http_storm_close branch September 24, 2020 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants