mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 22:14:55 -04:00
Allow synapse's useragent to be customized
This will allow me to write tests which verify which server made HTTP requests in a federation context.
This commit is contained in:
parent
301141515a
commit
8fc52bc56a
2 changed files with 10 additions and 6 deletions
|
@ -26,6 +26,7 @@ class ServerConfig(Config):
|
|||
self.soft_file_limit = config["soft_file_limit"]
|
||||
self.daemonize = config.get("daemonize")
|
||||
self.print_pidfile = config.get("print_pidfile")
|
||||
self.user_agent_override = config.get("user_agent_override")
|
||||
self.use_frozen_dicts = config.get("use_frozen_dicts", True)
|
||||
|
||||
self.listeners = config.get("listeners", [])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue