File tree 3 files changed +3
-1
lines changed
3 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ async fn main() {
12
12
13
13
let remote_url = "http://localhost:4007" ;
14
14
let server_sdk_key = "server-8ed48815ef044428826787e9a238b9c6a479f98c" ;
15
- let interval = Duration :: from_millis ( 100 ) ;
15
+ let interval = Duration :: from_millis ( 1000 ) ;
16
16
let config = FPConfig {
17
17
remote_url : remote_url. to_owned ( ) ,
18
18
server_sdk_key : server_sdk_key. to_owned ( ) ,
Original file line number Diff line number Diff line change @@ -128,6 +128,7 @@ impl FeatureProbe {
128
128
value,
129
129
reason : reason. unwrap_or ( detail. reason ) ,
130
130
rule_index : detail. rule_index ,
131
+ variation_index : detail. variation_index ,
131
132
version : detail. version ,
132
133
}
133
134
}
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ const VERSION: &str = env!("CARGO_PKG_VERSION");
25
25
pub struct FPDetail < T : Default + Debug > {
26
26
pub value : T ,
27
27
pub rule_index : Option < usize > ,
28
+ pub variation_index : Option < usize > ,
28
29
pub version : Option < u64 > ,
29
30
pub reason : String ,
30
31
}
You can’t perform that action at this time.
0 commit comments