Skip to content

Commit 899d33f

Browse files
authored
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.
1 parent df11af1 commit 899d33f

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

changelog.d/17449.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Remove unnecessary call to resume producing in fake channel.

tests/server.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -289,10 +289,6 @@ def await_result(self, timeout_ms: int = 1000) -> None:
289289
self._reactor.run()
290290

291291
while not self.is_finished():
292-
# If there's a producer, tell it to resume producing so we get content
293-
if self._producer:
294-
self._producer.resumeProducing()
295-
296292
if self._reactor.seconds() > end_time:
297293
raise TimedOutException("Timed out waiting for request to finish.")
298294

0 commit comments

Comments
 (0)