mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-15 17:51:10 +00:00
baa3f4a80d
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.
1 line
70 B
Text
1 line
70 B
Text
Fix stack overflow when recovering an appservice which had an outage.
|