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:
Shay 2024-07-16 01:52:39 -07:00 committed by GitHub
parent df11af14db
commit 899d33f2ba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 4 deletions

1
changelog.d/17449.bugfix Normal file
View File

@ -0,0 +1 @@
Remove unnecessary call to resume producing in fake channel.

View File

@ -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.")