Add upload operation to task arguments

This commit is contained in:
Eike Kettner
2020-05-18 15:58:31 +02:00
parent 6e8582ea80
commit 852455c610
6 changed files with 57 additions and 9 deletions

View File

@ -308,4 +308,28 @@ docspell.joex {
working-dir = ${java.io.tmpdir}"/docspell-convert"
}
}
# The same section is also present in the rest-server config. It is
# used when submitting files into the job queue for processing.
#
# Currently, these settings may affect memory usage of all nodes, so
# it should be the same on all nodes.
files {
# Defines the chunk size (in bytes) used to store the files.
# This will affect the memory footprint when uploading and
# downloading files. At most this amount is loaded into RAM for
# down- and uploading.
#
# It also defines the chunk size used for the blobs inside the
# database.
chunk-size = 524288
# The file content types that are considered valid. Docspell
# will only pass these files to processing. The processing code
# itself has also checks for which files are supported and which
# not. This affects the uploading part and can be used to
# restrict file types that should be handed over to processing.
# By default all files are allowed.
valid-mime-types = [ ]
}
}