1
0
Commit Graph

18749 Commits

Author SHA1 Message Date
Erik Johnston
a94edad23b Merge branch 'erikj/cache_mem_size' into erikj/test_send 2021-05-05 10:14:07 +01:00
Erik Johnston
fc17e4e62e fix logging contexts 2021-05-04 18:09:03 +01:00
Erik Johnston
0d9d84dac0 fix logging contexts 2021-05-04 18:06:23 +01:00
Erik Johnston
04db7b9581 Merge branch 'erikj/limit_how_often_gc' into erikj/test_send 2021-05-04 17:59:35 +01:00
Erik Johnston
24965fc073 Merge branch 'erikj/efficient_presence_join' into erikj/test_send 2021-05-04 17:59:31 +01:00
Erik Johnston
5b031e2da3 Merge branch 'erikj/fix_presence_joined' into erikj/test_send 2021-05-04 17:59:16 +01:00
Erik Johnston
14b70bbd9f Merge branch 'erikj/refactor_keyring' into erikj/test_send 2021-05-04 17:57:57 +01:00
Erik Johnston
d4175abe52 Allow fetching events 2021-05-04 17:57:46 +01:00
Erik Johnston
b76fe71627 Fix remote resource 2021-05-04 17:57:46 +01:00
Erik Johnston
7f237d5639 Remove key_ready 2021-05-04 17:57:46 +01:00
Erik Johnston
f37c5843d3 Merge branch 'erikj/refactor_keyring' into erikj/test_send 2021-05-04 17:37:22 +01:00
Erik Johnston
d6ae1aef46 Merge remote-tracking branch 'origin/develop' into erikj/test_send 2021-05-04 17:37:15 +01:00
Erik Johnston
3bfd3c55f9 Refactor keyring 2021-05-04 17:36:02 +01:00
Erik Johnston
cad5a47621 Bugfix newsfile 2021-05-04 15:54:39 +01:00
Erik Johnston
e3bc4617fc Time external cache response time (#9904) 2021-05-04 15:14:22 +01:00
Erik Johnston
7e3d333b28 Move newsfile 2021-05-04 14:51:28 +01:00
Erik Johnston
aabc46f0f6 Merge remote-tracking branch 'origin/develop' into erikj/cache_mem_size 2021-05-04 14:49:16 +01:00
Erik Johnston
78e3502ada Always report memory usage metrics when TRACK_MEMORY_USAGE is True 2021-05-04 14:32:42 +01:00
Erik Johnston
8206069c63 Comment 2021-05-04 14:29:30 +01:00
Erik Johnston
a99524f383 Apply suggestions from code review
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2021-05-04 14:29:26 +01:00
Erik Johnston
b5169b68e9 Document default. Add type annotations. Correctly convert to seconds 2021-05-04 14:23:02 +01:00
Erik Johnston
4a8a483060 Fix store.get_users_in_room_with_profiles 2021-05-04 14:09:44 +01:00
Andrew Morgan
b85821aca2 Add port parameter to the sample config for psycopg2 args (#9911)
Adds the `port` option with the default value to the sample config file.
2021-05-04 13:28:59 +01:00
Erik Johnston
8624333cd9 Correctly invalidate get_users_in_room_with_profiles cache 2021-05-04 13:27:28 +01:00
Erik Johnston
4caa84b279 Use lists instead of sets where appropriate 2021-05-04 13:16:15 +01:00
Erik Johnston
48cf260c7a Process state deltas in presence by room 2021-05-04 13:16:02 +01:00
Erik Johnston
7e5f78a698 Convert other uses of get_current_users_in_room and add warning 2021-05-04 13:02:18 +01:00
Erik Johnston
43c9acda4c Config 2021-05-04 11:49:13 +01:00
Erik Johnston
bd04fb6308 Code review 2021-05-04 10:47:32 +01:00
Erik Johnston
d3a6e38c96 Apply suggestions from code review
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2021-05-04 10:40:18 +01:00
Erik Johnston
aa1a026509 Stuff 2021-04-30 15:19:31 +01:00
Erik Johnston
260c760d69 Don't log response 2021-04-30 15:18:17 +01:00
Erik Johnston
49da5e9ec4 Chunk _check_sigs_and_hash_and_fetch 2021-04-30 15:17:50 +01:00
Erik Johnston
3b2991e3fb Log memory usage 2021-04-30 15:00:22 +01:00
Erik Johnston
aec80899ab Merge branch 'erikj/stream_deserealize' into erikj/test_send 2021-04-30 14:21:58 +01:00
Erik Johnston
68f1d258d9 Use ijson 2021-04-30 14:19:27 +01:00
Erik Johnston
8481bacc93 Merge branch 'erikj/efficient_presence_join' into erikj/test_send 2021-04-30 13:37:08 +01:00
Erik Johnston
68b6106ce5 Newsfile 2021-04-30 13:36:50 +01:00
Erik Johnston
0ed608cf56 Increase perf of handling presence when joining large rooms.
We ended up doing a *lot* of duplicate work, and e.g. ended up doing n^2
worth of `is_mine_id(..)` checks across all joined users.
2021-04-30 13:34:15 +01:00
Erik Johnston
ac0143c4ac Record size of incoming bytes 2021-04-30 10:24:19 +01:00
Erik Johnston
f5a25c7b53 Merge branch 'erikj/limit_how_often_gc' into erikj/test_send 2021-04-30 10:14:23 +01:00
Erik Johnston
5813719696 Merge branch 'erikj/fix_presence_joined' into erikj/test_send 2021-04-30 10:14:18 +01:00
Erik Johnston
6640fb467f Use correct name 2021-04-29 17:44:54 +01:00
Erik Johnston
0c8cd62149 Newsfile 2021-04-29 17:36:34 +01:00
Erik Johnston
996c0ce3d5 Use get_current_users_in_room from store and not StateHandler 2021-04-29 17:35:47 +01:00
Erik Johnston
938efeb595 Add some logging 2021-04-29 16:41:16 +01:00
Erik Johnston
4a3a9597f5 Merge remote-tracking branch 'origin/develop' into erikj/test_send 2021-04-29 16:41:04 +01:00
Andrew Morgan
4d624f467a Merge tag 'v1.33.0rc2' into develop
Synapse 1.33.0rc2 (2021-04-29)
==============================

Bugfixes
--------

- Fix tight loop when handling presence replication when using workers. Introduced in v1.33.0rc1. ([\#9900](https://github.com/matrix-org/synapse/issues/9900))
2021-04-29 14:35:14 +01:00
Andrew Morgan
d11f2dfee5 typo in changelog v1.33.0rc2 2021-04-29 14:31:14 +01:00
Patrick Cloke
bb4b11846f Add missing type hints to handlers and fix a Spam Checker type hint. (#9896)
The user_may_create_room_alias method on spam checkers
declared the room_alias parameter as a str when in reality it is
passed a RoomAlias object.
2021-04-29 07:17:28 -04:00