summary refs log tree commit diff
path: root/tests/appservice/test_scheduler.py
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2019-08-20 17:39:38 +0100
committerGitHub <noreply@github.com>2019-08-20 17:39:38 +0100
commitbaa3f4a80d55615f35e073eecaebd5edd1c86113 (patch)
tree363cf3f0a4235e6e99a1077f07901cc43f247cef /tests/appservice/test_scheduler.py
parentOpentracing doc update (#5776) (diff)
downloadsynapse-baa3f4a80d55615f35e073eecaebd5edd1c86113.tar.xz
Avoid deep recursion in appservice recovery (#5885)
Hopefully, this will fix a stack overflow when recovering an appservice.

The recursion here leads to a huge chain of deferred callbacks, which then
overflows the stack when the chain completes. `inlineCallbacks` makes a better
job of this if we use iteration instead.

Clean up the code a bit too, while we're there.
Diffstat (limited to 'tests/appservice/test_scheduler.py')
0 files changed, 0 insertions, 0 deletions