File tree Expand file tree Collapse file tree 4 files changed +5
-6
lines changed Expand file tree Collapse file tree 4 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -424,6 +424,7 @@ impl VoidConfig {
424424 }
425425}
426426
427+ /// Empty Backend implementation for Testing purposes
427428#[ derive( Debug , Default ) ]
428429pub struct VoidBackend {
429430 state : State ,
Original file line number Diff line number Diff line change @@ -36,11 +36,6 @@ pub struct PyroscopeConfig {
3636 pub sample_rate : u32 ,
3737 /// Spy Name
3838 pub spy_name : String ,
39- // TODO
40- // log_level
41- // auth_token
42- // upstream_request_timeout = 10s
43- // no_logging
4439}
4540
4641impl PyroscopeConfig {
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ use std::{
2323
2424#[ derive( Debug ) ]
2525pub struct Timer {
26- /// A vector to store listeners (mpsc::Sender)
26+ /// A vector to store listeners
2727 txs : Arc < Mutex < Vec < Sender < TimerSignal > > > > ,
2828
2929 /// Thread handle
Original file line number Diff line number Diff line change @@ -89,6 +89,9 @@ mod get_current_time_secs_tests {
8989 }
9090}
9191
92+ /// A representation of a time range. The time range is represented by a start
93+ /// time, an end time, a current time and remaining time in seconds. The
94+ /// remaining time is the duration in seconds until the end time.
9295#[ derive( Debug , PartialEq ) ]
9396pub struct TimeRange {
9497 pub from : u64 ,
You can’t perform that action at this time.
0 commit comments