mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 14:06:02 -04:00
By default set soft limit to hard limit
This commit is contained in:
parent
939273c4b0
commit
7c56210f20
2 changed files with 11 additions and 7 deletions
|
@ -79,11 +79,11 @@ class ServerConfig(Config):
|
|||
server_group.add_argument("--no-tls", action='store_true',
|
||||
help="Don't bind to the https port.")
|
||||
server_group.add_argument("--soft-file-limit", type=int, default=0,
|
||||
help="Set the limit on the number of file "
|
||||
"descriptors synapse can use. Zero "
|
||||
"is used to indicate synapse should "
|
||||
"not change the limit from system "
|
||||
"default.")
|
||||
help="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.")
|
||||
|
||||
def read_signing_key(self, signing_key_path):
|
||||
signing_keys = self.read_file(signing_key_path, "signing_key")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue