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
..
2019-06-20 19:32:02 +10:00
2019-08-16 16:13:25 +01:00
2019-08-17 09:09:52 +01:00
2019-08-20 17:39:38 +01:00
2019-08-15 16:27:11 +01:00
2019-07-31 10:39:24 +01:00
2019-08-01 13:45:48 +01:00
2019-08-16 16:13:25 +01:00
2019-07-23 23:00:55 +10:00
2019-08-19 10:20:59 +01:00
2019-08-16 16:13:25 +01:00
2019-08-20 13:56:03 +01:00
2019-07-18 23:57:15 +10:00
2019-07-23 23:00:55 +10:00
2019-08-13 12:50:36 +01:00
2019-07-24 13:47:51 +01:00
2019-08-01 11:59:27 +02:00
2019-08-15 16:27:11 +01:00
2019-07-23 23:00:55 +10:00
2019-07-23 23:00:55 +10:00
2019-07-19 12:03:36 +01:00
2019-08-16 17:45:50 -07:00
2019-07-23 23:00:55 +10:00
2019-08-13 16:20:38 +01:00
2019-08-17 09:16:17 +01:00
2019-06-20 19:32:02 +10:00
2019-07-23 23:00:55 +10:00
2019-08-17 09:09:52 +01:00
2019-06-20 19:32:02 +10:00
2019-06-27 00:37:41 +01:00
2019-06-20 19:32:02 +10:00
2019-06-20 19:32:02 +10:00
2019-07-23 23:00:55 +10:00