Restore commented-out code
This commit is contained in:
parent
e0f8615d52
commit
8e612e4287
4 changed files with 14 additions and 14 deletions
|
@ -111,16 +111,16 @@ pub enum ClickhouseEvent {
|
|||
},
|
||||
}
|
||||
|
||||
// #[cfg(debug_assertions)]
|
||||
// const MAX_QUEUE_LEN: usize = 1;
|
||||
#[cfg(debug_assertions)]
|
||||
const MAX_QUEUE_LEN: usize = 1;
|
||||
|
||||
// #[cfg(not(debug_assertions))]
|
||||
#[cfg(not(debug_assertions))]
|
||||
const MAX_QUEUE_LEN: usize = 10;
|
||||
|
||||
// #[cfg(debug_assertions)]
|
||||
// const DEBOUNCE_INTERVAL: Duration = Duration::from_secs(1);
|
||||
#[cfg(debug_assertions)]
|
||||
const DEBOUNCE_INTERVAL: Duration = Duration::from_secs(1);
|
||||
|
||||
// #[cfg(not(debug_assertions))]
|
||||
#[cfg(not(debug_assertions))]
|
||||
const DEBOUNCE_INTERVAL: Duration = Duration::from_secs(30);
|
||||
|
||||
impl Telemetry {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue