office plugin 转换进程、任务超时可配置

This commit is contained in:
kl
2021-03-12 21:32:01 +08:00
parent 56cdeffaa9
commit 6ccc724839
3 changed files with 64 additions and 39 deletions

View File

@ -16,6 +16,12 @@ spring.freemarker.expose-session-attributes = true
spring.freemarker.request-context-attribute = request
spring.freemarker.suffix = .ftl
# office-plugin
## office转换服务的进程数默认开启两个进程
office.plugin.server.ports = 2001,2002
## office 转换服务 task 超时时间默认五分钟
office.plugin.task.timeout = 5m
#文件资源路径默认为打包根路径下的file目录下
#file.dir = D:\\kkFileview\\
file.dir = ${KK_FILE_DIR:default}