synapse-old/tests/handlers
reivilibre 1f5473465d
Refresh remote profiles that have been marked as stale, in order to fill the user directory. [rei:userdirpriv] (#14756)
* Scaffolding for background process to refresh profiles

* Add scaffolding for background process to refresh profiles for a given server

* Implement the code to select servers to refresh from

* Ensure we don't build up multiple looping calls

* Make `get_profile` able to respect backoffs

* Add logic for refreshing users

* When backing off, schedule a refresh when the backoff is over

* Wake up the background processes when we receive an interesting state event

* Add tests

* Newsfile

Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org>

* Add comment about 1<<62

---------

Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org>
2023-03-16 11:44:11 +00:00
..
__init__.py
oidc_test_key.p8
oidc_test_key.pub.pem
test_admin.py Add information on uploaded media to user export command. (#15107) 2023-02-23 13:14:17 -05:00
test_appservice.py Add final type hint to tests.unittest. (#15072) 2023-02-14 14:03:35 -05:00
test_auth.py
test_cas.py Add final type hint to tests.unittest. (#15072) 2023-02-14 14:03:35 -05:00
test_deactivate_account.py
test_device.py
test_directory.py Add missing type hints to tests.handlers. (#14680) 2022-12-16 11:53:01 +00:00
test_e2e_keys.py Add final type hint to tests.unittest. (#15072) 2023-02-14 14:03:35 -05:00
test_e2e_room_keys.py Add missing type hints to tests.handlers. (#14680) 2022-12-16 11:53:01 +00:00
test_federation.py Add final type hint to tests.unittest. (#15072) 2023-02-14 14:03:35 -05:00
test_federation_event.py Add final type hint to tests.unittest. (#15072) 2023-02-14 14:03:35 -05:00
test_message.py Batch up storing state groups when creating new room (#14918) 2023-02-24 13:15:29 -08:00
test_oidc.py Add more missing type hints to tests. (#15028) 2023-02-08 16:29:49 -05:00
test_password_providers.py Add final type hint to tests.unittest. (#15072) 2023-02-14 14:03:35 -05:00
test_presence.py Add missing type hints to tests.handlers. (#14680) 2022-12-16 11:53:01 +00:00
test_profile.py Add missing type hints to tests.handlers. (#14680) 2022-12-16 11:53:01 +00:00
test_receipts.py Add missing type hints to tests.handlers. (#14680) 2022-12-16 11:53:01 +00:00
test_register.py Batch up storing state groups when creating new room (#14918) 2023-02-24 13:15:29 -08:00
test_room.py Add missing type hints to tests.handlers. (#14680) 2022-12-16 11:53:01 +00:00
test_room_member.py Faster joins: Refactor handling of servers in room (#14954) 2023-02-03 15:39:59 +00:00
test_room_summary.py Add missing type hints to tests.handlers. (#14680) 2022-12-16 11:53:01 +00:00
test_saml.py Add final type hint to tests.unittest. (#15072) 2023-02-14 14:03:35 -05:00
test_send_email.py Add missing type hints to tests.handlers. (#14680) 2022-12-16 11:53:01 +00:00
test_sso.py Bump black from 22.12.0 to 23.1.0 (#15103) 2023-02-22 15:29:09 -05:00
test_stats.py Bump black from 22.12.0 to 23.1.0 (#15103) 2023-02-22 15:29:09 -05:00
test_sync.py Add missing type hints to tests.handlers. (#14680) 2022-12-16 11:53:01 +00:00
test_typing.py Add final type hint to tests.unittest. (#15072) 2023-02-14 14:03:35 -05:00
test_user_directory.py Refresh remote profiles that have been marked as stale, in order to fill the user directory. [rei:userdirpriv] (#14756) 2023-03-16 11:44:11 +00:00