summary refs log tree commit diff
path: root/synapse/replication/tcp/streams.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-04-25Reduce cache size by not storing deferredsErik Johnston2-22/+28
Currently the cache descriptors store deferreds rather than raw values, this is a simple way of triggering only one database hit and sharing the result if two callers attempt to get the same value. However, there are a few caches that simply store a mapping from string to string (or int). These caches can have a large number of entries, under the assumption that each entry is small. However, the size of a