We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 094e2e7 commit 3c23037Copy full SHA for 3c23037
src/timer/epoll.rs
@@ -62,7 +62,12 @@ impl Timer {
62
}
63
64
// Fire @ 10th sec
65
- Timer::epoll_wait(timer_fd, epoll_fd)?;
+ let res = Timer::epoll_wait(timer_fd, epoll_fd);
66
+ if matches!(&res, Err(PyroscopeError::Io(err)) if err.kind() == std::io::ErrorKind::Interrupted)
67
+ {
68
+ continue;
69
+ }
70
+ res?;
71
72
// Get the current time range
73
let from = TimerSignal::NextSnapshot(get_time_range(0)?.from);
0 commit comments