增加自动更新线程的配置

This commit is contained in:
xxy
2020-05-08 07:49:41 +08:00
parent 0e2e610d18
commit c9428bf0e7
3 changed files with 52 additions and 35 deletions

View File

@ -1,3 +1,4 @@
#端口号
server:
port: 8081
@ -5,9 +6,16 @@ spring:
profiles:
active: dev
#登录用户名密码
admin:
username: admin
password: admin
#爬虫自动更新的线程数
#建议小说数量不多或者正在运行新书入库爬虫的情况下设置为1即可
#随着小说数量的增多可以逐渐增加但建议不要超出CPU的线程数
crawl:
update:
thread: 1