mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-14 11:57:44 +00:00
Remove unnecessary call to resume producing in fake channel (#17449)
This fell out of the authenticated media work - this bit of code masked a bug but does not break anything when removed, so probably should be removed.
This commit is contained in:
parent
df11af14db
commit
899d33f2ba
2 changed files with 1 additions and 4 deletions
1
changelog.d/17449.bugfix
Normal file
1
changelog.d/17449.bugfix
Normal file
|
@ -0,0 +1 @@
|
|||
Remove unnecessary call to resume producing in fake channel.
|
|
@ -289,10 +289,6 @@ class FakeChannel:
|
|||
self._reactor.run()
|
||||
|
||||
while not self.is_finished():
|
||||
# If there's a producer, tell it to resume producing so we get content
|
||||
if self._producer:
|
||||
self._producer.resumeProducing()
|
||||
|
||||
if self._reactor.seconds() > end_time:
|
||||
raise TimedOutException("Timed out waiting for request to finish.")
|
||||
|
||||
|
|
Loading…
Reference in a new issue