Commit Graph

175 Commits (2ee9f1bd1a3b644afd27fef8aea76cca93a1c9e5)

Author SHA1 Message Date
Amber Brown 6350bf925e
Attempt to be more performant on PyPy (#3462) 7 years ago
Erik Johnston f8272813a9 Make _get_joined_hosts_cache cache non-iterable 7 years ago
Richard van der Hoff c1f4118bb6 Remove was_forgotten_at 7 years ago
Adrian Tschira 6c16a4ec1b more iteritems 7 years ago
Richard van der Hoff 2fe3f848b9 Remove uses of events.content 7 years ago
Erik Johnston 926ba76e23 Replace ujson with simplejson 7 years ago
Erik Johnston 8cb44da4aa Fix race in sync when joining room 7 years ago
Erik Johnston 493e25d554 Move storage functions for push calculations 7 years ago
Erik Johnston 70349872c2 Update copyright 7 years ago
Erik Johnston 3dec9c66b3 Split out RoomMemberStore 7 years ago
Richard van der Hoff 6cfee09be9 Make __init__ consitstent across Store heirarchy 7 years ago
Richard van der Hoff eaaabc6c4f replace 'except:' with 'except Exception:' 7 years ago
Erik Johnston e8496efe84 Fix up comment 7 years ago
Erik Johnston e4ab96021e Update comments 7 years ago
Erik Johnston 30848c0fcd Ignore incoming events for rooms that we have left 7 years ago
Erik Johnston d53fe399eb Add cache for is_host_joined 8 years ago
Erik Johnston 935e588799 Tweak SQL 8 years ago
Erik Johnston 0185b75381 Change is_host_joined to use current_state table 8 years ago
Erik Johnston 6ba21bf2b8 Comments 8 years ago
Erik Johnston 6e2a7ee1bc Remove spurious log lines 8 years ago
Erik Johnston 619e8ecd0c Handle None state group correctly 8 years ago
Erik Johnston dfbda5e025 Faster cache for get_joined_hosts 8 years ago
Erik Johnston 85e8092cca Comment 8 years ago
Erik Johnston ad53fc3cf4 Short circuit when we have delta ids 8 years ago
Erik Johnston 13f540ef1b Speed up get_joined_hosts 8 years ago
Erik Johnston ffad4fe35b Don't update event cache hit ratio from get_joined_users 8 years ago
Erik Johnston cf589f2c1e Fixes 8 years ago
Erik Johnston aa93cb9f44 Add comment 8 years ago
Erik Johnston 537dbadea0 Intern host strings 8 years ago
Erik Johnston 07a07588a0 Make caches bigger 8 years ago
Erik Johnston dfaa58f72d Fix comment and num args 8 years ago
Erik Johnston 5d8290429c Reduce size of get_users_in_room 8 years ago
Erik Johnston 7ebf518c02 Make get_joined_users faster 8 years ago
Erik Johnston 7166854f41 Add cache for get_current_hosts_in_room 8 years ago
Erik Johnston f144365281 Comment 8 years ago
Erik Johnston d9aa645f86 Reduce size of joined_user cache 8 years ago
Erik Johnston 7fc1f1e2b6 Cache hosts in room 8 years ago
Erik Johnston d58b1ffe94 Replace some calls to cursor_to_dict 8 years ago
Erik Johnston da146657c9 Comments 8 years ago
Erik Johnston 6957bfdca6 Don't recreate so many sets 8 years ago
Erik Johnston 38258a0976 Bump cache sizes for common membership queries 8 years ago
Erik Johnston 832e9c52ca Comment 8 years ago
Erik Johnston 54a79c1d37 Make presence.get_new_events a bit faster 8 years ago
Erik Johnston f6124311fd Add m.room.member type to query 8 years ago
Erik Johnston 458b6f4733 Only invalidate membership caches based on the cache stream 8 years ago
Erik Johnston 21b7375778 Add an index to make membership queries faster 8 years ago
Erik Johnston 1c13c9f6b6 Don't have such a large cache 8 years ago
Erik Johnston 828db669ec Use get_users_in_room and declare it iterable 8 years ago
Erik Johnston 897f8752da Up cache max entries for state 8 years ago
Erik Johnston 01521299c7 Increase cache size limit 8 years ago