mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-07-12 17:31:51 +00:00
![Richard van der Hoff](/assets/img/avatar_default.png)
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.
2 lines
70 B
Plaintext
2 lines
70 B
Plaintext
Fix stack overflow when recovering an appservice which had an outage.
|