mirror of
https://github.com/qaiu/netdisk-fast-download.git
synced 2025-12-17 04:43:02 +00:00
MySQL支持, 其他优化
This commit is contained in:
@@ -35,9 +35,8 @@ custom:
|
||||
|
||||
# 数据源配置
|
||||
dataSource:
|
||||
provider_class: io.vertx.ext.jdbc.spi.impl.HikariCPDataSourceProvider
|
||||
jdbcUrl: jdbc:h2:file:./db/nfdData;MODE=MySQL;DATABASE_TO_UPPER=FALSE
|
||||
driverClassName: org.h2.Driver
|
||||
#jdbcUrl: jdbc:mysql://127.0.0.1:3306/nfddata?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&serverTimezone=GMT%2B8&useSSL=false
|
||||
jdbcUrl: jdbc:h2:file:./db/nfdData111;MODE=MySQL;DATABASE_TO_UPPER=FALSE
|
||||
username: root
|
||||
password: '123456'
|
||||
|
||||
@@ -49,17 +48,17 @@ cache:
|
||||
defaultDuration: 59
|
||||
# 具体网盘的缓存配置,如果不加配置则不缓存,每次请求都会请求网盘API,格式:网盘标识: 时长
|
||||
duration:
|
||||
ce:
|
||||
ce: 5
|
||||
cow:
|
||||
ec:
|
||||
ec: 5
|
||||
fc:
|
||||
fj:
|
||||
fj: 20
|
||||
iz: 20
|
||||
le: 2879
|
||||
lz: 20
|
||||
qq: 9999999
|
||||
ws:
|
||||
ye:
|
||||
ws: 10
|
||||
ye: -1
|
||||
mne: 30
|
||||
mqq: 30
|
||||
mkg: 30
|
||||
|
||||
Reference in New Issue
Block a user