-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconf.json
16 lines (16 loc) · 1.03 KB
/
conf.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
"protocol":"http",
"host":"0.0.0.0",
"port":2115,
"tmpFolder":"docsCache",/** cache during a request, it will be deleted when the request is finished **/
"min": 2,/** min workers **/
"max": 100,/** max workers **/
"timeout":"30s",/** timeout duration **/
"libreConfig":{
"librepath":"/usr/lib/libreoffice/program/soffice.bin", /** the libreoffice executable folder path **/
"min" : 2, /** default 8 | min executables ready to be ready. An executable is mainly needed to convert to PDF. It is recommended to use one exe for a request at the time.**/
"max" : 10, /** default 40 | max capacity of executable running. The next request will be on hold until one is freed or until request timeout..**/
"highLoad": 55 /** highLoad defines the percentage of executables in use, when it is reached prepare new ones to be ready for high availability and fast response.**/
/** Please note! LibreOffice likes to fail sometimes, to have a stable failover, you might want to keep the highLoad value around 50% or even lower.**/
}
}