Implement and use an @lru_cache decorator (#8595)
We don't always need the full power of a DeferredCache.
Showing
- changelog.d/8595.misc 1 addition, 0 deletionschangelog.d/8595.misc
- synapse/push/bulk_push_rule_evaluator.py 24 additions, 13 deletionssynapse/push/bulk_push_rule_evaluator.py
- synapse/util/caches/descriptors.py 188 additions, 47 deletionssynapse/util/caches/descriptors.py
- tests/util/caches/test_descriptors.py 59 additions, 1 deletiontests/util/caches/test_descriptors.py
Loading
Please register or sign in to comment