mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
Merge remote-tracking branch 'upstream/release-v1.101'
This commit is contained in:
commit
aef880992a
@ -1,3 +1,12 @@
|
|||||||
|
# Synapse 1.101.0 (2024-02-13)
|
||||||
|
|
||||||
|
### Bugfixes
|
||||||
|
|
||||||
|
- Fix performance regression when fetching auth chains from the DB. Introduced in v1.100.0. ([\#16893](https://github.com/element-hq/synapse/issues/16893))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Synapse 1.101.0rc1 (2024-02-06)
|
# Synapse 1.101.0rc1 (2024-02-06)
|
||||||
|
|
||||||
### Improved Documentation
|
### Improved Documentation
|
||||||
|
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,3 +1,9 @@
|
|||||||
|
matrix-synapse-py3 (1.101.0) stable; urgency=medium
|
||||||
|
|
||||||
|
* New Synapse release 1.101.0.
|
||||||
|
|
||||||
|
-- Synapse Packaging team <packages@matrix.org> Tue, 13 Feb 2024 10:45:35 +0000
|
||||||
|
|
||||||
matrix-synapse-py3 (1.101.0~rc1) stable; urgency=medium
|
matrix-synapse-py3 (1.101.0~rc1) stable; urgency=medium
|
||||||
|
|
||||||
* New Synapse release 1.101.0rc1.
|
* New Synapse release 1.101.0rc1.
|
||||||
|
@ -96,7 +96,7 @@ module-name = "synapse.synapse_rust"
|
|||||||
|
|
||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "matrix-synapse"
|
name = "matrix-synapse"
|
||||||
version = "1.101.0rc1"
|
version = "1.101.0"
|
||||||
description = "Homeserver for the Matrix decentralised comms protocol"
|
description = "Homeserver for the Matrix decentralised comms protocol"
|
||||||
authors = ["Matrix.org Team and Contributors <packages@matrix.org>"]
|
authors = ["Matrix.org Team and Contributors <packages@matrix.org>"]
|
||||||
license = "AGPL-3.0-or-later"
|
license = "AGPL-3.0-or-later"
|
||||||
|
@ -310,7 +310,7 @@ class EventFederationWorkerStore(SignatureWorkerStore, EventsWorkerStore, SQLBas
|
|||||||
# Add all linked chains reachable from initial set of chains.
|
# Add all linked chains reachable from initial set of chains.
|
||||||
chains_to_fetch = set(event_chains.keys())
|
chains_to_fetch = set(event_chains.keys())
|
||||||
while chains_to_fetch:
|
while chains_to_fetch:
|
||||||
batch2 = tuple(itertools.islice(chains_to_fetch, 100))
|
batch2 = tuple(itertools.islice(chains_to_fetch, 1000))
|
||||||
chains_to_fetch.difference_update(batch2)
|
chains_to_fetch.difference_update(batch2)
|
||||||
clause, args = make_in_list_sql_clause(
|
clause, args = make_in_list_sql_clause(
|
||||||
txn.database_engine, "origin_chain_id", batch2
|
txn.database_engine, "origin_chain_id", batch2
|
||||||
@ -593,7 +593,7 @@ class EventFederationWorkerStore(SignatureWorkerStore, EventsWorkerStore, SQLBas
|
|||||||
# the loop)
|
# the loop)
|
||||||
chains_to_fetch = set(seen_chains)
|
chains_to_fetch = set(seen_chains)
|
||||||
while chains_to_fetch:
|
while chains_to_fetch:
|
||||||
batch2 = tuple(itertools.islice(chains_to_fetch, 100))
|
batch2 = tuple(itertools.islice(chains_to_fetch, 1000))
|
||||||
clause, args = make_in_list_sql_clause(
|
clause, args = make_in_list_sql_clause(
|
||||||
txn.database_engine, "origin_chain_id", batch2
|
txn.database_engine, "origin_chain_id", batch2
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user