0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-06-01 10:18:54 +02:00
synapse/synapse/storage/databases/main
Richard van der Hoff b5322b4daf
Ensure that pending to-device events are sent over federation at startup (#16925)
Fixes https://github.com/element-hq/synapse/issues/16680, as well as a
related bug, where servers which we had *never* successfully sent an
event to would not be retried.

In order to fix the case of pending to-device messages, we hook into the
existing `wake_destinations_needing_catchup` process, by extending it to
look for destinations that have pending to-device messages. The
federation transmission loop then attempts to send the pending to-device
messages as normal.
2024-03-22 13:24:11 +00:00
..
__init__.py deactivated flag refactored to filter deactivated users. (#16874) 2024-03-11 16:08:04 +00:00
account_data.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
appservice.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
cache.py Don't invalidate the entire event cache when we purge history (#16905) 2024-02-13 13:24:11 +00:00
censor_events.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
client_ips.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
deviceinbox.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
devices.py Bump black from 23.10.1 to 24.2.0 (#16936) 2024-03-13 16:46:44 +00:00
directory.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
e2e_room_keys.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
end_to_end_keys.py Bump black from 23.10.1 to 24.2.0 (#16936) 2024-03-13 16:46:44 +00:00
event_federation.py Increase batching when fetching auth chains (#16893) 2024-02-09 10:51:00 +00:00
event_push_actions.py Revert "Improve DB performance of calculating badge counts for push. (#16756)" (#16979) 2024-03-05 12:27:27 +00:00
events.py Bump black from 23.10.1 to 24.2.0 (#16936) 2024-03-13 16:46:44 +00:00
events_bg_updates.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
events_forward_extremities.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
events_worker.py Do not refuse to set read_marker if previous event_id is in wrong room (#16990) 2024-03-21 18:43:07 +00:00
experimental_features.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
filtering.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
keys.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
lock.py Bump black from 23.10.1 to 24.2.0 (#16936) 2024-03-13 16:46:44 +00:00
media_repository.py Bump black from 23.10.1 to 24.2.0 (#16936) 2024-03-13 16:46:44 +00:00
metrics.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
monthly_active_users.py Update license headers 2023-11-21 15:29:58 -05:00
openid.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
presence.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
profile.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
purge_events.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
push_rule.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
pusher.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
receipts.py Bump black from 23.10.1 to 24.2.0 (#16936) 2024-03-13 16:46:44 +00:00
registration.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
rejections.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
relations.py Update license headers 2023-11-21 15:29:58 -05:00
room.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
roommember.py Fix reject knocks on deactivating account (#17010) 2024-03-21 18:05:54 +00:00
search.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
session.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
signatures.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
state.py Bump black from 23.10.1 to 24.2.0 (#16936) 2024-03-13 16:46:44 +00:00
state_deltas.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
stats.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
stream.py Bump black from 23.10.1 to 24.2.0 (#16936) 2024-03-13 16:46:44 +00:00
tags.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
task_scheduler.py Bump black from 23.10.1 to 24.2.0 (#16936) 2024-03-13 16:46:44 +00:00
transactions.py Ensure that pending to-device events are sent over federation at startup (#16925) 2024-03-22 13:24:11 +00:00
ui_auth.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
user_directory.py Bump black from 23.10.1 to 24.2.0 (#16936) 2024-03-13 16:46:44 +00:00
user_erasure_store.py Update license headers 2023-11-21 15:29:58 -05:00