summary refs log tree commit diff
path: root/synapse/config/server.py
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2019-03-04 17:14:58 +0000
committerGitHub <noreply@github.com>2019-03-04 17:14:58 +0000
commit8e28bc5eeecbc2c9130c05e8c8237a546fb4d3ea (patch)
treeb6257afed4b8d90441ee285d425f910e7b5e9060 /synapse/config/server.py
parentFix v4v6 option in HAProxy example config (#4790) (diff)
downloadsynapse-8e28bc5eeecbc2c9130c05e8c8237a546fb4d3ea.tar.xz
Include a default configuration file in the 'docs' directory. (#4791)
Diffstat (limited to 'synapse/config/server.py')
-rw-r--r--synapse/config/server.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/synapse/config/server.py b/synapse/config/server.py

index 4200f10da3..35a322fee0 100644 --- a/synapse/config/server.py +++ b/synapse/config/server.py
@@ -260,9 +260,11 @@ class ServerConfig(Config): # This is used by remote servers to connect to this server, # e.g. matrix.org, localhost:8080, etc. # This is also the last part of your UserID. + # server_name: "%(server_name)s" # When running as a daemon, the file to store the pid in + # pid_file: %(pid_file)s # CPU affinity mask. Setting this restricts the CPUs on which the @@ -304,9 +306,11 @@ class ServerConfig(Config): # Set the soft limit on the number of file descriptors synapse can use # Zero is used to indicate synapse should set the soft limit to the # hard limit. + # soft_file_limit: 0 # Set to false to disable presence tracking on this homeserver. + # use_presence: true # The GC threshold parameters to pass to `gc.set_threshold`, if defined