diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2019-08-20 17:39:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-20 17:39:38 +0100 |
commit | baa3f4a80d55615f35e073eecaebd5edd1c86113 (patch) | |
tree | 363cf3f0a4235e6e99a1077f07901cc43f247cef /test_postgresql.sh | |
parent | Opentracing doc update (#5776) (diff) | |
download | synapse-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 'test_postgresql.sh')
0 files changed, 0 insertions, 0 deletions