This repository was archived by the owner on Jan 22, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -1240,7 +1240,7 @@ impl ClusterInfo {
1240
1240
Protocol :: PullRequest ( filter, caller) => {
1241
1241
let start = allocated. get ( ) ;
1242
1242
if !caller. verify ( ) {
1243
- inc_new_counter_error ! (
1243
+ inc_new_counter_info ! (
1244
1244
"cluster_info-gossip_pull_request_verify_fail" ,
1245
1245
1
1246
1246
) ;
@@ -1266,7 +1266,7 @@ impl ClusterInfo {
1266
1266
data. retain ( |v| {
1267
1267
let ret = v. verify ( ) ;
1268
1268
if !ret {
1269
- inc_new_counter_error ! (
1269
+ inc_new_counter_info ! (
1270
1270
"cluster_info-gossip_pull_response_verify_fail" ,
1271
1271
1
1272
1272
) ;
@@ -1284,7 +1284,7 @@ impl ClusterInfo {
1284
1284
data. retain ( |v| {
1285
1285
let ret = v. verify ( ) ;
1286
1286
if !ret {
1287
- inc_new_counter_error ! (
1287
+ inc_new_counter_info ! (
1288
1288
"cluster_info-gossip_push_msg_verify_fail" ,
1289
1289
1
1290
1290
) ;
@@ -1864,9 +1864,9 @@ impl Node {
1864
1864
}
1865
1865
1866
1866
fn report_time_spent ( label : & str , time : & Duration , extra : & str ) {
1867
- let count = duration_as_ms ( time) ;
1868
- if count > 5 {
1869
- info ! ( "{} took: {} ms {}" , label, count , extra) ;
1867
+ let time_ms = duration_as_ms ( time) ;
1868
+ if time_ms > 50 {
1869
+ info ! ( "{} took: {} ms {}" , label, time_ms , extra) ;
1870
1870
}
1871
1871
}
1872
1872
You can’t perform that action at this time.
0 commit comments