Skip to content

Commit

Permalink
fix: add RW_HEAP_PROFILING_DIR for frontend (#19323)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuhao-su authored Nov 26, 2024
1 parent 21ea2bc commit 641cf65
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/frontend/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,11 @@ pub struct FrontendOpts {
#[override_opts(path = server.metrics_level)]
pub metrics_level: Option<MetricLevel>,

/// Enable heap profile dump when memory usage is high.
#[clap(long, hide = true, env = "RW_HEAP_PROFILING_DIR")]
#[override_opts(path = server.heap_profiling.dir)]
pub heap_profiling_dir: Option<String>,

#[clap(long, hide = true, env = "ENABLE_BARRIER_READ")]
#[override_opts(path = batch.enable_barrier_read)]
pub enable_barrier_read: Option<bool>,
Expand Down

0 comments on commit 641cf65

Please sign in to comment.