Просмотр исходного кода

redis消息队列添加参数,可以配置重试机制

yjp 5 месяцев назад
Родитель
Сommit
d916c78838
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      framework/core/infrastructure/infrastructure.go

+ 1 - 1
framework/core/infrastructure/infrastructure.go

@@ -42,7 +42,7 @@ type RedisConfig struct {
 	MaxLen             int64  `json:"max_len" yaml:"max_len"`
 	ConsumerNum        int    `json:"consumer_num" yaml:"consumer_num"`
 	VisibilityAgainSec int    `json:"visibility_again_sec" yaml:"visibility_again_sec"`
-	InFlightCount      int    `yaml:"in_flight_count" yaml:"in_flight_count"`
+	InFlightCount      int    `json:"in_flight_count" yaml:"in_flight_count"`
 }
 
 type MqttConfig struct {