@@ -1029,7 +1029,7 @@ api_security_sample_delay: 60 # Seconds
10291029 apm_filter_tags_regex_require : None ,
10301030 apm_filter_tags_regex_reject : None ,
10311031 statsd_metric_namespace : None ,
1032- dogstatsd_so_rcvbuf : Some ( 1048576 ) ,
1032+ dogstatsd_so_rcvbuf : Some ( 1_048_576 ) ,
10331033 dogstatsd_buffer_size : Some ( 65507 ) ,
10341034 dogstatsd_queue_size : Some ( 2048 ) ,
10351035 } ;
@@ -1047,11 +1047,11 @@ api_security_sample_delay: 60 # Seconds
10471047 jail. clear_env ( ) ;
10481048 jail. create_file (
10491049 "datadog.yaml" ,
1050- r# "
1050+ r"
10511051dogstatsd_so_rcvbuf: 524288
10521052dogstatsd_buffer_size: 16384
10531053dogstatsd_queue_size: 512
1054- "# ,
1054+ " ,
10551055 ) ?;
10561056 let mut config = Config :: default ( ) ;
10571057 let yaml_config_source = YamlConfigSource {
@@ -1061,7 +1061,7 @@ dogstatsd_queue_size: 512
10611061 . load ( & mut config)
10621062 . expect ( "Failed to load config" ) ;
10631063
1064- assert_eq ! ( config. dogstatsd_so_rcvbuf, Some ( 524288 ) ) ;
1064+ assert_eq ! ( config. dogstatsd_so_rcvbuf, Some ( 524_288 ) ) ;
10651065 assert_eq ! ( config. dogstatsd_buffer_size, Some ( 16384 ) ) ;
10661066 assert_eq ! ( config. dogstatsd_queue_size, Some ( 512 ) ) ;
10671067 Ok ( ( ) )
0 commit comments