mirror of https://github.com/watcha-fr/synapse
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.code_spécifique_watcha
parent
c886f976e0
commit
baa3f4a80d
@ -0,0 +1 @@ |
||||
Fix stack overflow when recovering an appservice which had an outage. |
Loading…
Reference in new issue