Runs on remote
This commit is contained in:
@@ -40,6 +40,17 @@ pub enum CacheUsage {
|
||||
Recreate,
|
||||
}
|
||||
|
||||
impl CacheUsage {
|
||||
pub fn query_param_value(&self) -> String {
|
||||
match self {
|
||||
CacheUsage::Use => "use",
|
||||
CacheUsage::Ignore => "ignore",
|
||||
CacheUsage::Recreate => "recreate",
|
||||
}
|
||||
.into()
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct BinnedQuery {
|
||||
range: NanoRange,
|
||||
|
||||
2
disk/src/cache/pbv.rs
vendored
2
disk/src/cache/pbv.rs
vendored
@@ -252,7 +252,7 @@ impl Stream for PreBinnedValueStream {
|
||||
match self.query.cache_usage {
|
||||
super::CacheUsage::Use | super::CacheUsage::Recreate => {
|
||||
let msg = format!(
|
||||
"Write cache file\n{:?}\nN: {}\n\n\n",
|
||||
"Write cache file query: {:?} bin count: {}",
|
||||
self.query.patch,
|
||||
self.values.ts1s.len()
|
||||
);
|
||||
|
||||
@@ -59,7 +59,7 @@ impl EventChunker {
|
||||
data_emit_complete: false,
|
||||
final_stats_sent: false,
|
||||
data_since_last_stats: 0,
|
||||
stats_emit_interval: 64,
|
||||
stats_emit_interval: 256,
|
||||
parsed_bytes: 0,
|
||||
}
|
||||
}
|
||||
@@ -84,7 +84,7 @@ impl EventChunker {
|
||||
data_emit_complete: false,
|
||||
final_stats_sent: false,
|
||||
data_since_last_stats: 0,
|
||||
stats_emit_interval: 64,
|
||||
stats_emit_interval: 256,
|
||||
parsed_bytes: 0,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user