mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04: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
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 New Issue
Block a user