chore(config): Improve HA orchestration and media synchronization
This commit is contained in:
@@ -148,7 +148,7 @@ CREATE TABLE IF NOT EXISTS `user_info` (
|
||||
`following_count` int NOT NULL DEFAULT '0' COMMENT '关注数',
|
||||
`video_count` int NOT NULL DEFAULT '0' COMMENT '视频数',
|
||||
`like_count` int NOT NULL DEFAULT '0' COMMENT '获赞数',
|
||||
`coin_count` int NOT NULL DEFAULT '0' COMMENT '硬币数',
|
||||
`coin_count` int NOT NULL DEFAULT '20' COMMENT '硬币数',
|
||||
`favorite_count` int NOT NULL DEFAULT '0' COMMENT '收藏数',
|
||||
`view_count` bigint NOT NULL DEFAULT '0' COMMENT '播放数',
|
||||
`level` tinyint NOT NULL DEFAULT '1' COMMENT '等级',
|
||||
|
||||
@@ -105,6 +105,11 @@ spring:
|
||||
INSERT INTO config_info (data_id, group_id, content, tenant_id, app_name, src_user, encrypted_data_key) VALUES
|
||||
('video-gateway.yaml', 'DEFAULT_GROUP', '# Gateway 服务配置
|
||||
spring:
|
||||
codec:
|
||||
max-in-memory-size: 10MB
|
||||
webflux:
|
||||
multipart:
|
||||
max-in-memory-size: 10MB
|
||||
cloud:
|
||||
gateway:
|
||||
discovery:
|
||||
@@ -120,10 +125,18 @@ spring:
|
||||
uri: lb://video-user
|
||||
predicates:
|
||||
- Path=/user/**
|
||||
filters:
|
||||
- name: RequestSize
|
||||
args:
|
||||
maxSize: 10MB
|
||||
- id: video-content
|
||||
uri: lb://video-content
|
||||
predicates:
|
||||
- Path=/content/**
|
||||
filters:
|
||||
- name: RequestSize
|
||||
args:
|
||||
maxSize: 1024MB
|
||||
- id: video-comment
|
||||
uri: lb://video-comment
|
||||
predicates:
|
||||
@@ -219,6 +232,10 @@ spring:
|
||||
data:
|
||||
redis:
|
||||
database: 1
|
||||
servlet:
|
||||
multipart:
|
||||
max-file-size: 10MB
|
||||
max-request-size: 10MB
|
||||
cloud:
|
||||
sentinel:
|
||||
transport:
|
||||
|
||||
Reference in New Issue
Block a user