Erik Johnston
7ae1d987ef
Add a per-homeserver clock to the Rust side ( #20294 )
...
This is a prerequisite to being able to add caching on the Rust side.
2026-10-07 11:11:08 +01:00
Erik Johnston
0dfcffab0f
Fix looping calls not getting GCed. ( #19416 )
...
The `Clock` tracks looping calls to allow cancelling of all looping
calls. However, this stopped them from getting garbage collected.
This was introduced in https://github.com/element-hq/synapse/pull/18828
Fixes https://github.com/element-hq/synapse/issues/19392
2026-01-30 10:26:53 +00:00
Richard van der Hoff
1ea904b9f0
Use deferred.addTimeout instead of time_bound_deferred
...
This doesn't feel like a wheel we need to reinvent.
2018-04-23 00:53:18 +01:00
Richard van der Hoff
b88a323ffb
Fix time_bound_deferred to throw the right exception
...
Due to a failure to instantiate DeferredTimedOutError, time_bound_deferred
would throw a CancelledError when the deferred timed out, which was rather
confusing.
2017-03-23 12:07:11 +00:00