File tree Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ async fn main() {
1212
1313 let remote_url = "http://localhost:4007" ;
1414 let server_sdk_key = "server-8ed48815ef044428826787e9a238b9c6a479f98c" ;
15- let interval = Duration :: from_millis ( 100 ) ;
15+ let interval = Duration :: from_millis ( 1000 ) ;
1616 let config = FPConfig {
1717 remote_url : remote_url. to_owned ( ) ,
1818 server_sdk_key : server_sdk_key. to_owned ( ) ,
Original file line number Diff line number Diff line change @@ -128,6 +128,7 @@ impl FeatureProbe {
128128 value,
129129 reason : reason. unwrap_or ( detail. reason ) ,
130130 rule_index : detail. rule_index ,
131+ variation_index : detail. variation_index ,
131132 version : detail. version ,
132133 }
133134 }
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ const VERSION: &str = env!("CARGO_PKG_VERSION");
2525pub struct FPDetail < T : Default + Debug > {
2626 pub value : T ,
2727 pub rule_index : Option < usize > ,
28+ pub variation_index : Option < usize > ,
2829 pub version : Option < u64 > ,
2930 pub reason : String ,
3031}
You can’t perform that action at this time.
0 commit comments