synapse/tests/config
Devon Hudson 396de6544a
Cleanly shutdown SynapseHomeServer object (#18828)
This PR aims to allow for a clean shutdown of the `SynapseHomeServer`
object so that it can be fully deleted and cleaned up by garbage
collection without shutting down the entire python process.

Fix https://github.com/element-hq/synapse-small-hosts/issues/50

### Pull Request Checklist

<!-- Please read
https://element-hq.github.io/synapse/latest/development/contributing_guide.html
before submitting your pull request -->

* [x] Pull request is based on the develop branch
* [x] Pull request includes a [changelog
file](https://element-hq.github.io/synapse/latest/development/contributing_guide.html#changelog).
The entry should:
- Be a short description of your change which makes sense to users.
"Fixed a bug that prevented receiving messages from other servers."
instead of "Moved X method from `EventStore` to `EventWorkerStore`.".
  - Use markdown where necessary, mostly for `code blocks`.
  - End with either a period (.) or an exclamation mark (!).
  - Start with a capital letter.
- Feel free to credit yourself, by adding a sentence "Contributed by
@github_username." or "Contributed by [Your Name]." to the end of the
entry.
* [x] [Code
style](https://element-hq.github.io/synapse/latest/code_style.html) is
correct (run the
[linters](https://element-hq.github.io/synapse/latest/development/contributing_guide.html#run-the-linters))

---------

Co-authored-by: Eric Eastwood <erice@element.io>
2025-10-01 02:42:09 +00:00
..
__init__.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
test___main__.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
test_api.py Fix a couple type annotations in the RootConfig/Config (#18409) 2025-05-13 10:22:15 -05:00
test_appservice.py Fix a couple type annotations in the RootConfig/Config (#18409) 2025-05-13 10:22:15 -05:00
test_background_update.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
test_base.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
test_cache.py Cleanly shutdown SynapseHomeServer object (#18828) 2025-10-01 02:42:09 +00:00
test_database.py Fix a couple type annotations in the RootConfig/Config (#18409) 2025-05-13 10:22:15 -05:00
test_generate.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
test_load.py Add recaptcha_{private,public}_key_path config option (#17984) 2025-07-14 11:37:36 -05:00
test_oauth_delegation.py Remove MockClock() (#18992) 2025-09-30 11:27:29 -05:00
test_ratelimiting.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
test_registration_config.py Split loading config vs homeserver setup (#18933) 2025-09-22 14:53:02 -05:00
test_room_directory.py Introduce Clock.call_when_running(...) to include logcontext by default (#18944) 2025-09-22 10:27:59 -05:00
test_server.py Fix a couple type annotations in the RootConfig/Config (#18409) 2025-05-13 10:22:15 -05:00
test_tls.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
test_util.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
test_workers.py Add --no-secrets-in-config command line option (#18092) 2025-02-25 16:26:01 +00:00
utils.py Add macaroon_secret_key_path config option (#17983) 2024-12-16 18:01:33 -06:00