forked-synapse/synapse
Erik Johnston d9aa645f86 Reduce size of joined_user cache
The _get_joined_users_from_context cache stores a mapping from user_id
to avatar_url and display_name. Instead of storing those in a dict,
store them in a namedtuple as that uses much less memory.

We also try converting the string to ascii to further reduce the size.
2017-04-25 14:38:51 +01:00
..
api use jsonschema.FormatChecker for RoomID and UserID strings 2017-03-23 11:42:41 -03:00
app Merge pull request #2115 from matrix-org/erikj/dedupe_federation_repl 2017-04-12 11:07:13 +01:00
appservice Add comment 2017-03-29 09:50:05 +01:00
config trust a hypothetical future riot.im IS 2017-04-10 17:58:36 +01:00
crypto Merge pull request #2050 from matrix-org/rav/federation_backoff 2017-03-23 22:27:01 +00:00
events Refactoring and cleanups 2017-03-17 15:06:07 +00:00
federation Try harder when sending leave events 2017-04-21 01:50:36 +01:00
handlers Remove redundant try/except clauses 2017-04-21 01:32:01 +01:00
http Fix some lies, and other clarifications, in docstrings 2017-04-21 01:31:09 +01:00
metrics Rearrange metrics 2017-04-05 14:15:09 +01:00
push Reduce size of joined_user cache 2017-04-25 14:38:51 +01:00
replication Remove unused cache 2017-04-24 13:27:38 +01:00
rest Reduce size of joined_user cache 2017-04-25 14:38:51 +01:00
static/client Updates to fallback CAS login to do new token login 2015-11-06 09:57:17 +00:00
storage Reduce size of joined_user cache 2017-04-25 14:38:51 +01:00
streams Add basic implementation of local device list changes 2017-01-25 14:27:27 +00:00
util Reduce size of joined_user cache 2017-04-25 14:38:51 +01:00
__init__.py Bump version and changelog 2017-04-07 10:03:48 +01:00
event_auth.py Use better variable name 2017-01-17 14:32:53 +00:00
notifier.py Merge branch 'develop' of github.com:matrix-org/synapse into erikj/repl_tcp_server 2017-04-04 09:46:16 +01:00
python_dependencies.py Add jsonschema to python_dependencies.py 2017-03-23 11:42:47 -03:00
server.py Finish implementing RM endpoint 2017-04-11 15:01:39 +01:00
server.pyi Fix login with m.login.token 2016-08-08 16:40:39 +01:00
state.py Merge pull request #1849 from matrix-org/erikj/state_typo 2017-03-29 11:53:42 +01:00
types.py Speed up copy_and_replace 2017-03-30 17:50:31 +01:00
visibility.py Don't convert to deferreds when not necessary 2017-03-30 14:14:36 +01:00