Include a default configuration file in the 'docs' directory. (#4791)

This commit is contained in:
Richard van der Hoff 2019-03-04 17:14:58 +00:00 committed by GitHub
parent aba5eeabd5
commit 8e28bc5eee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 1114 additions and 13 deletions

View file

@ -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