0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-06-16 09:38:19 +02:00
synapse/synapse
Erik Johnston 3acf85c85f
Reduce likelihood of Postgres table scanning state_groups_state. (#10359)
The postgres statistics collector sometimes massively underestimates the
number of distinct state groups are in the `state_groups_state`, which
can cause postgres to use table scans for queries for multiple state
groups.

We fix this by manually setting `n_distinct` on the column.
2021-07-15 16:02:12 +01:00
..
_scripts Add script for getting info about recently registered users (#10290) 2021-07-06 13:03:16 +01:00
api Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
app Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
appservice Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
config Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
crypto Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
events Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
federation Stagger send presence to remotes (#10398) 2021-07-15 11:52:56 +01:00
groups Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
handlers Fix a number of logged errors caused by remote servers being down. (#10400) 2021-07-15 10:35:46 +01:00
http Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
logging Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
metrics Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
module_api Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
push Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
replication Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
res/templates Port "Allow users to click account renewal links multiple times without hitting an 'Invalid Token' page #74" from synapse-dinsic (#9832) 2021-04-19 19:16:34 +01:00
rest Fix messages from multiple senders in historical chunk (MSC2716) (#10276) 2021-07-13 14:12:33 -05:00
server_notices Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
spam_checker_api Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
state Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
static Add initial support for a "pick your IdP" page (#9017) 2021-01-05 11:25:28 +00:00
storage Reduce likelihood of Postgres table scanning state_groups_state. (#10359) 2021-07-15 16:02:12 +01:00
streams Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
util Add support for evicting cache entries based on last access time. (#10205) 2021-07-05 16:32:12 +01:00
__init__.py 1.38.0 2021-07-13 13:19:06 +01:00
event_auth.py Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
notifier.py Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
python_dependencies.py Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
server.py Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
types.py Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
visibility.py Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00