mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-29 15:39:00 +03:00
903d11c43a
* Add `DeferredCache.get_immediate` method A bunch of things that are currently calling `DeferredCache.get` are only really interested in the result if it's completed. We can optimise and simplify this case. * Remove unused 'default' parameter to DeferredCache.get() * another get_immediate instance
1 line
47 B
Text
1 line
47 B
Text
Add `get_immediate` method to `DeferredCache`.
|