数据库连接池连接数配置
This commit is contained in:
parent
fb43f0c1e2
commit
b28994f9b9
@ -49,4 +49,9 @@ public class FeignEbikeDicValueVo implements Serializable {
|
|||||||
@NotNull(message = "字典id不能为空")
|
@NotNull(message = "字典id不能为空")
|
||||||
private Long dicId;
|
private Long dicId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 字典icon
|
||||||
|
*/
|
||||||
|
private String dicIcon;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -38,11 +38,11 @@ spring:
|
|||||||
driver-class-name: org.postgresql.Driver
|
driver-class-name: org.postgresql.Driver
|
||||||
hikari:
|
hikari:
|
||||||
## 最小空闲连接数量
|
## 最小空闲连接数量
|
||||||
minimum-idle: 5
|
minimum-idle: 2
|
||||||
## 空闲连接存活最大时间,默认600000(10分钟)
|
## 空闲连接存活最大时间,默认600000(10分钟)
|
||||||
idle-timeout: 180000
|
idle-timeout: 180000
|
||||||
## 连接池最大连接数,默认是10
|
## 连接池最大连接数,默认是10
|
||||||
maximum-pool-size: 10
|
maximum-pool-size: 5
|
||||||
## 数据库连接超时时间,默认30秒,即30000
|
## 数据库连接超时时间,默认30秒,即30000
|
||||||
connection-timeout: 30000
|
connection-timeout: 30000
|
||||||
connection-test-query: SELECT 1
|
connection-test-query: SELECT 1
|
||||||
|
|||||||
@ -26,11 +26,11 @@ spring:
|
|||||||
driver-class-name: org.postgresql.Driver
|
driver-class-name: org.postgresql.Driver
|
||||||
hikari:
|
hikari:
|
||||||
## 最小空闲连接数量
|
## 最小空闲连接数量
|
||||||
minimum-idle: 5
|
minimum-idle: 2
|
||||||
## 空闲连接存活最大时间,默认600000(10分钟)
|
## 空闲连接存活最大时间,默认600000(10分钟)
|
||||||
idle-timeout: 180000
|
idle-timeout: 180000
|
||||||
## 连接池最大连接数,默认是10
|
## 连接池最大连接数,默认是10
|
||||||
maximum-pool-size: 10
|
maximum-pool-size: 5
|
||||||
## 数据库连接超时时间,默认30秒,即30000
|
## 数据库连接超时时间,默认30秒,即30000
|
||||||
connection-timeout: 30000
|
connection-timeout: 30000
|
||||||
connection-test-query: SELECT 1
|
connection-test-query: SELECT 1
|
||||||
|
|||||||
@ -26,11 +26,11 @@ spring:
|
|||||||
driver-class-name: org.postgresql.Driver
|
driver-class-name: org.postgresql.Driver
|
||||||
hikari:
|
hikari:
|
||||||
## 最小空闲连接数量
|
## 最小空闲连接数量
|
||||||
minimum-idle: 5
|
minimum-idle: 2
|
||||||
## 空闲连接存活最大时间,默认600000(10分钟)
|
## 空闲连接存活最大时间,默认600000(10分钟)
|
||||||
idle-timeout: 180000
|
idle-timeout: 180000
|
||||||
## 连接池最大连接数,默认是10
|
## 连接池最大连接数,默认是10
|
||||||
maximum-pool-size: 10
|
maximum-pool-size: 5
|
||||||
## 数据库连接超时时间,默认30秒,即30000
|
## 数据库连接超时时间,默认30秒,即30000
|
||||||
connection-timeout: 30000
|
connection-timeout: 30000
|
||||||
connection-test-query: SELECT 1
|
connection-test-query: SELECT 1
|
||||||
|
|||||||
@ -26,11 +26,11 @@ spring:
|
|||||||
driver-class-name: org.postgresql.Driver
|
driver-class-name: org.postgresql.Driver
|
||||||
hikari:
|
hikari:
|
||||||
## 最小空闲连接数量
|
## 最小空闲连接数量
|
||||||
minimum-idle: 5
|
minimum-idle: 2
|
||||||
## 空闲连接存活最大时间,默认600000(10分钟)
|
## 空闲连接存活最大时间,默认600000(10分钟)
|
||||||
idle-timeout: 180000
|
idle-timeout: 180000
|
||||||
## 连接池最大连接数,默认是10
|
## 连接池最大连接数,默认是10
|
||||||
maximum-pool-size: 10
|
maximum-pool-size: 5
|
||||||
## 数据库连接超时时间,默认30秒,即30000
|
## 数据库连接超时时间,默认30秒,即30000
|
||||||
connection-timeout: 30000
|
connection-timeout: 30000
|
||||||
connection-test-query: SELECT 1
|
connection-test-query: SELECT 1
|
||||||
|
|||||||
@ -341,7 +341,6 @@ CREATE TABLE "public"."ebike_refund" (
|
|||||||
"remark" varchar(200) COLLATE "pg_catalog"."default",
|
"remark" varchar(200) COLLATE "pg_catalog"."default",
|
||||||
"process_time" timestamp(6),
|
"process_time" timestamp(6),
|
||||||
"refund_transaction_id" varchar(64) COLLATE "pg_catalog"."default",
|
"refund_transaction_id" varchar(64) COLLATE "pg_catalog"."default",
|
||||||
"review_operator" int8,
|
|
||||||
"refund_operator" int8,
|
"refund_operator" int8,
|
||||||
"create_by" int8,
|
"create_by" int8,
|
||||||
"create_time" timestamp(6) DEFAULT CURRENT_TIMESTAMP,
|
"create_time" timestamp(6) DEFAULT CURRENT_TIMESTAMP,
|
||||||
@ -370,7 +369,6 @@ COMMENT ON COLUMN "public"."ebike_refund"."remark" IS '驳回原因/退款备注
|
|||||||
COMMENT ON COLUMN "public"."ebike_refund"."process_time" IS '驳回/通过时间';
|
COMMENT ON COLUMN "public"."ebike_refund"."process_time" IS '驳回/通过时间';
|
||||||
COMMENT ON COLUMN "public"."ebike_refund"."refund_transaction_id" IS '退款交易流水号';
|
COMMENT ON COLUMN "public"."ebike_refund"."refund_transaction_id" IS '退款交易流水号';
|
||||||
COMMENT ON COLUMN "public"."ebike_refund"."review_operator" IS '审核人';
|
COMMENT ON COLUMN "public"."ebike_refund"."review_operator" IS '审核人';
|
||||||
COMMENT ON COLUMN "public"."ebike_refund"."refund_operator" IS '退款人';
|
|
||||||
COMMENT ON COLUMN "public"."ebike_refund"."create_by" IS '创建人ID';
|
COMMENT ON COLUMN "public"."ebike_refund"."create_by" IS '创建人ID';
|
||||||
COMMENT ON COLUMN "public"."ebike_refund"."create_time" IS '创建时间';
|
COMMENT ON COLUMN "public"."ebike_refund"."create_time" IS '创建时间';
|
||||||
COMMENT ON COLUMN "public"."ebike_refund"."update_by" IS '最后修改人ID';
|
COMMENT ON COLUMN "public"."ebike_refund"."update_by" IS '最后修改人ID';
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user