mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-18 17:10:43 +03:00
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
This commit is contained in:
commit
988e74eabf
2 changed files with 4 additions and 0 deletions
1
changelog.d/17569.misc
Normal file
1
changelog.d/17569.misc
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Speed up responding to media requests.
|
|
@ -681,6 +681,9 @@ class ThreadedFileSender:
|
||||||
"""interfaces.IPushProducer"""
|
"""interfaces.IPushProducer"""
|
||||||
|
|
||||||
# Unregister the consumer so we don't try and interact with it again.
|
# Unregister the consumer so we don't try and interact with it again.
|
||||||
|
if self.consumer:
|
||||||
|
self.consumer.unregisterProducer()
|
||||||
|
|
||||||
self.consumer = None
|
self.consumer = None
|
||||||
|
|
||||||
# Terminate the loop.
|
# Terminate the loop.
|
||||||
|
|
Loading…
Reference in a new issue