Skip to content

Commit 7d2bd8f

Browse files
committed
chore(release): 0.4.0
1 parent 0828975 commit 7d2bd8f

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

src/backend.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -424,6 +424,7 @@ impl VoidConfig {
424424
}
425425
}
426426

427+
/// Empty Backend implementation for Testing purposes
427428
#[derive(Debug, Default)]
428429
pub struct VoidBackend {
429430
state: State,

src/pyroscope.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff 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

4641
impl PyroscopeConfig {

src/timer/epoll.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ use std::{
2323
2424
#[derive(Debug)]
2525
pub 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

src/utils.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff 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)]
9396
pub struct TimeRange {
9497
pub from: u64,

0 commit comments

Comments
 (0)