mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-11-04 20:28:44 +08:00 
			
		
		
		
	移除 resilience4j 组件
This commit is contained in:
		@@ -115,16 +115,6 @@ lock4j:
 | 
			
		||||
  acquire-timeout: 3000 # 获取分布式锁超时时间,默认为 3000 毫秒
 | 
			
		||||
  expire: 30000 # 分布式锁的超时时间,默认为 30 毫秒
 | 
			
		||||
 | 
			
		||||
# Resilience4j 配置项
 | 
			
		||||
resilience4j:
 | 
			
		||||
  ratelimiter:
 | 
			
		||||
    instances:
 | 
			
		||||
      backendA:
 | 
			
		||||
        limit-for-period: 1 # 每个周期内,允许的请求数。默认为 50
 | 
			
		||||
        limit-refresh-period: 60s # 每个周期的时长,单位:微秒。默认为 500
 | 
			
		||||
        timeout-duration: 1s # 被限流时,阻塞等待的时长,单位:微秒。默认为 5s
 | 
			
		||||
        register-health-indicator: true # 是否注册到健康监测
 | 
			
		||||
 | 
			
		||||
--- #################### 监控相关配置 ####################
 | 
			
		||||
 | 
			
		||||
# Actuator 监控端点的配置项
 | 
			
		||||
 
 | 
			
		||||
@@ -135,16 +135,6 @@ lock4j:
 | 
			
		||||
  acquire-timeout: 3000 # 获取分布式锁超时时间,默认为 3000 毫秒
 | 
			
		||||
  expire: 30000 # 分布式锁的超时时间,默认为 30 毫秒
 | 
			
		||||
 | 
			
		||||
# Resilience4j 配置项
 | 
			
		||||
resilience4j:
 | 
			
		||||
  ratelimiter:
 | 
			
		||||
    instances:
 | 
			
		||||
      backendA:
 | 
			
		||||
        limit-for-period: 1 # 每个周期内,允许的请求数。默认为 50
 | 
			
		||||
        limit-refresh-period: 60s # 每个周期的时长,单位:微秒。默认为 500
 | 
			
		||||
        timeout-duration: 1s # 被限流时,阻塞等待的时长,单位:微秒。默认为 5s
 | 
			
		||||
        register-health-indicator: true # 是否注册到健康监测
 | 
			
		||||
 | 
			
		||||
--- #################### 监控相关配置 ####################
 | 
			
		||||
 | 
			
		||||
# Actuator 监控端点的配置项
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user