forked-synapse/synapse/util
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
..
caches Bump mypy from 1.5.1 to 1.8.0 (#16901) 2024-03-13 17:05:57 +00:00
__init__.py Ensure that pending to-device events are sent over federation at startup (#16925) 2024-03-22 13:24:11 +00:00
async_helpers.py Bump mypy from 1.5.1 to 1.8.0 (#16901) 2024-03-13 17:05:57 +00:00
batching_queue.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
cancellation.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
check_dependencies.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
daemonize.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
distributor.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
file_consumer.py Update license headers 2023-11-21 15:29:58 -05:00
frozenutils.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
gai_resolver.py Bump twisted from 22.10.0 to 23.8.0 (#16235) 2023-09-05 11:14:14 +00:00
hash.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
httpresourcetree.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
iterutils.py Bump black from 23.10.1 to 24.2.0 (#16936) 2024-03-13 16:46:44 +00:00
linked_list.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
logcontext.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
logformatter.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
macaroons.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
manhole.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
metrics.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
module_loader.py Update license headers 2023-11-21 15:29:58 -05:00
msisdn.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
patch_inline_callbacks.py Update license headers 2023-11-21 15:29:58 -05:00
ratelimitutils.py Bump black from 23.10.1 to 24.2.0 (#16936) 2024-03-13 16:46:44 +00:00
retryutils.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
rlimit.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
rust.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
stringutils.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
task_scheduler.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
templates.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
threepids.py Update license headers 2023-11-21 15:29:58 -05:00
wheel_timer.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00