Skip to content

Commit

Permalink
修改最大会话数
Browse files Browse the repository at this point in the history
  • Loading branch information
SpikeFJ committed Nov 15, 2023
1 parent 222a529 commit 0035f35
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/resources/application-local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ server:
compression:
enabled: true
min-response-size: 512
spring:
#spring:
# kafka:
# bootstrap-servers: 127.0.0.1:9092
# producer:
Expand Down Expand Up @@ -48,8 +48,8 @@ gateway:
topic: send_down
store: # 会话存储策略
type: memory
maxRecordsForSingleSession: 2 #单次会话最大存储记录数,采用FIFO策略,超过则移除之前的连接信息
maxHistorySessions: 2 #最大历史会话数,记录完整的连接生命周期内信息,采用FIFO策略,超过则移除之前的连接信息
maxRecordsForSingleSession: 15 #单次会话最大存储记录数,采用FIFO策略,超过则移除之前的连接信息
maxHistorySessions: 3 #最大历史会话数,记录完整的连接生命周期内信息,采用FIFO策略,超过则移除之前的连接信息
maxHistoryTime: 600 #最长历史会话保留时长,单位秒,超时则自动移除

logging:
Expand Down

0 comments on commit 0035f35

Please sign in to comment.