anonymousland-synapse/synapse/appservice
Richard van der Hoff baa3f4a80d
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.
2019-08-20 17:39:38 +01:00
..
__init__.py Replace returnValue with return (#5736) 2019-07-23 23:00:55 +10:00
api.py Replace returnValue with return (#5736) 2019-07-23 23:00:55 +10:00
scheduler.py Avoid deep recursion in appservice recovery (#5885) 2019-08-20 17:39:38 +01:00