Allow to configure some http server details

This commit is contained in:
eikek
2022-03-19 00:19:27 +01:00
parent e3ed0ba24d
commit 57bcea7ae3
4 changed files with 50 additions and 1 deletions

View File

@ -38,6 +38,17 @@ docspell.server {
port = 7880
}
# Options for tuning the http server
server-options {
enable-http-2 = false
# Maximum allowed connections
max-connections = 1024
# Timeout for waiting for the first output of the response
response-timeout = 45s
}
# This is a hard limit to restrict the size of a batch that is
# returned when searching for items. The user can set this limit
# within the client config, but it is restricted by the server to