Skip to content

Commit ab79b73

Browse files
committed
添加FlowRateGrayDecisionFactory
1 parent 445d6ac commit ab79b73

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

spring-cloud-gray-client/src/main/java/cn/springcloud/gray/client/config/GrayDecisionFactoryConfiguration.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,11 @@ public HttpTrackHeaderGrayDecisionFactory httpTrackHeaderGrayDecisionFactory() {
5252
public TrackAttributeGrayDecisionFactory trackAttributeGrayDecisionFactory() {
5353
return new TrackAttributeGrayDecisionFactory();
5454
}
55+
56+
@Bean
57+
public FlowRateGrayDecisionFactory flowRateGrayDecisionFactory(){
58+
return new FlowRateGrayDecisionFactory();
59+
}
5560
}
5661

5762

0 commit comments

Comments
 (0)