blob: faca091e79de2b9104df83eff85c122ca1e100d1 [file] [log] [blame]
Xing Jinwen2b2dc8c2025-06-04 23:15:13 +08001redis:
2 host: localhost
3 port: 6379
4 database: 3
5spring:
6 web:
7 resources:
8 static-locations: file:uploads/
9 profiles:
10 active: test,caching,db
11 jpa:
12 properties:
13 hibernate:
14 ddl-auto: update
15 generate-ddl: true
16 hbm2ddl:
17 auto: update
18 data:
19 redis:
20 database: ${redis.database}
21 timeout: 3000
22 port: ${redis.port}
23 host: ${redis.host}
24 jedis:
25 pool:
26 max-idle: 8
27 min-idle: 2
28 max-active: 8
29 max-wait: -1
30 quartz:
31 job-store-type: jdbc
32 wait-for-jobs-to-complete-on-shutdown: true
33 overwrite-existing-jobs: true
34 jdbc:
35 initialize-schema: always
36 properties:
37 org:
38 quartz:
39 scheduler:
40 instanceName: sapling_scheduler
41 instanceId: AUTO
42 jobStore:
43 class: org.springframework.scheduling.quartz.LocalDataSourceJobStore
44 driverDelegateClass: org.quartz.impl.jdbcjobstore.StdJDBCDelegate
45 tablePrefix: QRTZ_
46 useProperties: false
47 clusterCheckinInterval: 10000
48 isClustered: true
49 threadPool:
50 class: org.quartz.simpl.SimpleThreadPool
51 threadCount: 10
52 threadPriority: 5
53 threadsInheritContextClassLoaderOfInitializingThread: true
54 servlet:
55 multipart:
56 enabled: true
57 max-request-size: 20MB
58 max-file-size: 20MB
59server:
60 port: 8081
61 servlet:
62 context-path: /api
63sa-token:
64 token-name: sapling-token
65 timeout: 2592000
66 activity-timeout: -1
67 is-concurrent: true
68 is-share: false
69 token-style: random-128
70#spring:
71# profiles:
72# active: test,db # 移除 caching 配置
73#
74# jpa:
75# properties:
76# hibernate:
77# ddl-auto: update
78# hbm2ddl.auto: update
79# cache:
80# use_second_level_cache: false
81# use_query_cache: false
82#
83# quartz:
84# job-store-type: jdbc
85# wait-for-jobs-to-complete-on-shutdown: true
86# overwrite-existing-jobs: true
87# jdbc:
88# initialize-schema: always
89# properties:
90# org:
91# quartz:
92# scheduler:
93# instanceName: sapling_scheduler
94# instanceId: AUTO
95# jobStore:
96# class: org.springframework.scheduling.quartz.LocalDataSourceJobStore
97# driverDelegateClass: org.quartz.impl.jdbcjobstore.StdJDBCDelegate
98# tablePrefix: QRTZ_
99# useProperties: false
100# clusterCheckinInterval: 10000
101# isClustered: true
102# threadPool:
103# class: org.quartz.simpl.SimpleThreadPool
104# threadCount: 10
105# threadPriority: 5
106# threadsInheritContextClassLoaderOfInitializingThread: true
107#
108# servlet:
109# multipart:
110# enabled: true
111# max-request-size: 20MB
112# max-file-size: 20MB
113#
114#server:
115# port: 8081
116# servlet:
117# context-path: /api
118#
119#sa-token:
120# token-name: sapling-token
121# timeout: 2592000
122# activity-timeout: -1
123# is-concurrent: true
124# is-share: false
125# token-style: random-128